spec/cli_spec.rb in society-1.1.1 vs spec/cli_spec.rb in society-1.2.0
- old
+ new
@@ -3,10 +3,10 @@
describe Society::CLI do
describe "#from" do
- let(:parser) { Society::Parser.new(nil) }
+ let(:parser) { Society::Parser.new([]) }
it "invokes Society with a path" do
allow(parser).to receive(:report)
expect(Society).to receive(:new) { parser }
Society::CLI.new.from("./spec/fixtures")