Sha256: 74c65983417df9e1dd3eba49aa31e20cea90371564c44a916dca5c4df3974352
Contents?: true
Size: 494 Bytes
Versions: 11
Compression:
Stored size: 494 Bytes
Contents
require 'spec_helper' module Landable::Api describe ConfigurationsController, json: true do routes { Landable::Engine.routes } describe '#show' do include_examples 'Authenticated API controller', :make_request def make_request get :show end it 'renders the page as JSON' do make_request # defined in Landable Dummy Initalizer last_json['configurations'][0]['audit_flags'].should == %w(loans apr) end end end end
Version data entries
11 entries across 11 versions & 1 rubygems