Sha256: 701b802600ecfbf5c1e799eb8d2683e3180fedf3e7bcdcfe0b1457b5b660175b

Contents?: true

Size: 275 Bytes

Versions: 2

Compression:

Stored size: 275 Bytes

Contents

require './spec/rails_helper'

describe UnversionedController, type: :controller do
  subject(:response) { get :index }

  context '#index' do
    render_views

    it { expect(response).to be_successful }
    it { expect(response.body).to eq 'unversioned index' }
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
versioncake-4.1.1 spec/integration/controller/unversioned_controller_spec.rb
versioncake-4.1.0 spec/integration/controller/unversioned_controller_spec.rb