spec/cli_spec.rb in society-1.4.0 vs spec/cli_spec.rb in society-1.4.1
- old
+ new
@@ -17,9 +17,13 @@
expect(parser).to receive(:report)
allow(Society).to receive(:new) { parser }
Society::CLI.new.from("./spec/fixtures")
end
+ it "handles globs" do
+ expect(parser).to receive(:report)
+ allow(Society).to receive(:new) { parser }
+ Society::CLI.new.from("#{Dir.getwd}/lib/society/{parser.rb,node.rb}")
+ end
end
end
-