From 41d9833b00a6a6ef794b24daaa48761b2c6b3992 Mon Sep 17 00:00:00 2001 From: takahashim Date: Sun, 11 Oct 2015 23:33:06 +0900 Subject: use match_array to ignore order of @yardoc.files --- spec/yardoc_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec') diff --git a/spec/yardoc_spec.rb b/spec/yardoc_spec.rb index 1073178..2268d5b 100644 --- a/spec/yardoc_spec.rb +++ b/spec/yardoc_spec.rb @@ -7,6 +7,6 @@ describe YARD::CLI::Yardoc do end it "should use mrblib/**/*.rb src/**/*.c include/**/*.h as default file glob" do - expect(@yardoc.files).to eq %w{mrblib/**/*.rb src/**/*.c include/**/*.h} + expect(@yardoc.files).to match_array(%w{mrblib/**/*.rb src/**/*.c include/**/*.h}) end end -- cgit v1.2.3