Sha256: 3bf69f32ac5ab731fddc2a9ca3c64cf5721da850c73d8439d8476e7d5a0b8f3c

Contents?: true

Size: 167 Bytes

Versions: 16

Compression:

Stored size: 167 Bytes

Contents

# encoding: utf-8
module JsonRspecHelper
  
  def expect_json_response
    response.should be_success
    return ActiveSupport::JSON.decode(response.body)
  end
  
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
whowish_word-0.6.5 rails/spec/support/json_rspec_helper.rb
whowish_word-0.6.4 rails/spec/support/json_rspec_helper.rb
whowish_word-0.6.3 rails/spec/support/json_rspec_helper.rb
whowish_word-0.6.2 rails/spec/support/json_rspec_helper.rb
whowish_word-0.6.2gem rails/spec/support/json_rspec_helper.rb
whowish_word-0.6.1 rails/spec/support/json_rspec_helper.rb
whowish_word-0.6.0 rails/spec/support/json_rspec_helper.rb
whowish_word-0.5.5 rails/spec/support/json_rspec_helper.rb
whowish_word-0.5.4 rails/spec/support/json_rspec_helper.rb
whowish_word-0.5.3 rails/spec/support/json_rspec_helper.rb
whowish_word-0.5.2 rails/spec/support/json_rspec_helper.rb
whowish_word-0.5.1 rails/spec/support/json_rspec_helper.rb
whowish_word-0.5.0 rails/spec/support/json_rspec_helper.rb
whowish_word-0.4.0 rails/spec/support/json_rspec_helper.rb
whowish_word-0.3.3 rails/spec/support/json_rspec_helper.rb
whowish_word-0.3.2 rails/spec/support/json_rspec_helper.rb