spec/ios/nsstring_files_spec.rb in sugarcube-2.0.1 vs spec/ios/nsstring_files_spec.rb in sugarcube-2.0.2
- old
+ new
@@ -192,10 +192,10 @@
end
describe 'file_url' do
it 'should convert path String to NSURL' do
- 'test'.resource_path.file_url.should.is_a?(NSURL)
+ 'test'.resource_path.file_url.should.be.kind_of(NSURL)
end
it 'should be a file path' do
'test'.resource_path.file_url.absoluteString.should.start_with?('file://')
end