spec/namers/default_namer_spec.rb in approvals-0.0.5 vs spec/namers/default_namer_spec.rb in approvals-0.0.6
- old
+ new
@@ -27,9 +27,9 @@
subject.output_dir.should eq('path/to/files/')
end
end
it "must have a name" do
- ->{ Approvals::Namers::DefaultNamer.new(nil) }.should raise_error(ArgumentError)
+ lambda { Approvals::Namers::DefaultNamer.new(nil) }.should raise_error(ArgumentError)
end
end