spec/plugin_spec.rb in roda-2.2.0 vs spec/plugin_spec.rb in roda-2.3.0
- old
+ new
@@ -55,17 +55,17 @@
fix(response.foobar)
end
end
end
- body('/hello').should == 'Foo aDefault'
+ body('/hello').must_equal 'Foo aDefault'
end
it "should support registering plugins and loading them by symbol" do
Roda::RodaPlugins.register_plugin(:foo, Module.new{module self::InstanceMethods; def a; '1' end end})
app(:foo) do
a
end
- body.should == '1'
+ body.must_equal '1'
end
end