spec/ios_version_spec.rb in ProMotion-0.5.2 vs spec/ios_version_spec.rb in ProMotion-0.6.0
- old
+ new
@@ -4,25 +4,25 @@
@dummy = DummyClass.new
@dummy.extend ProMotion::SystemHelper
end
it "#ios_version_is?" do
- @dummy.ios_version_is?(@dummy.ios_version).should == true
+ @dummy.ios_version_is?(@dummy.ios_version).should.be.true
end
it "#ios_version_greater?" do
- @dummy.ios_version_greater?('1.0').should == true
+ @dummy.ios_version_greater?('1.0').should.be.true
end
it "#ios_version_greater_eq?" do
- @dummy.ios_version_greater_eq?(@dummy.ios_version).should == true
+ @dummy.ios_version_greater_eq?(@dummy.ios_version).should.be.true
end
it "#ios_version_less?" do
- @dummy.ios_version_less?('9.0').should == true
+ @dummy.ios_version_less?('9.0').should.be.true
end
it "#ios_version_less_eq?" do
- @dummy.ios_version_less_eq?(@dummy.ios_version).should == true
+ @dummy.ios_version_less_eq?(@dummy.ios_version).should.be.true
end
-
+
end