spec/shared_specs.rb in roxml-3.3.1 vs spec/shared_specs.rb in roxml-4.0.0
- old
+ new
@@ -1,15 +1,15 @@
if defined?(shared_examples_for)
shared_examples_for "freezable xml reference" do
describe "with :frozen option" do
it "should be frozen" do
- @frozen.frozen?.should be_true
+ expect(@frozen.frozen?).to be_truthy
end
end
describe "without :frozen option" do
it "should not be frozen" do
- @unfrozen.frozen?.should be_false
+ expect(@unfrozen.frozen?).to be_falsey
end
end
end
end