spec/features/api_spec.rb in togostanza-2.1.3 vs spec/features/api_spec.rb in togostanza-2.2.0
- old
+ new
@@ -1,7 +1,7 @@
require 'spec_helper'
-describe 'API' do
+describe 'API', type: :feature do
it 'should return properties as JSON' do
visit '/foo.json?name=nsgc'
json = JSON.parse(page.body)
json.should include('name' => 'nsgc')