spec/clamp/option_module_spec.rb in clamp-0.6.3 vs spec/clamp/option_module_spec.rb in clamp-0.6.4
- old
+ new
@@ -2,11 +2,11 @@
describe Clamp::Command do
include OutputCapture
- describe "with included module" do
+ context "with included module" do
let(:command) do
shared_options = Module.new do
extend Clamp::Option::Declaration
@@ -27,10 +27,10 @@
end
it "accepts options from included module" do
command.run(["--size", "42"])
- stdout.should == "size = 42\n"
+ expect(stdout).to eql "size = 42\n"
end
end
end