spec/lib/billy/resource_utils_spec.rb in puffing-billy-0.2.3 vs spec/lib/billy/resource_utils_spec.rb in puffing-billy-0.3.0
- old
+ new
@@ -44,12 +44,12 @@
describe 'json?' do
let(:json) { {a: '1'}.to_json }
let(:non_json) { 'Not JSON.' }
it 'identifies JSON' do
- expect(Billy::JSONUtils::json?(json)).to be_true
+ expect(Billy::JSONUtils::json?(json)).to be true
end
it 'identifies non-JSON' do
- expect(Billy::JSONUtils::json?(non_json)).to be_false
+ expect(Billy::JSONUtils::json?(non_json)).to be false
end
end
-end
\ No newline at end of file
+end