Sha256: f2a6f5694febb47ee6fa80ec50fe6dec6e7b966205a94ba26d476dbb51fd93f9

Contents?: true

Size: 527 Bytes

Versions: 6

Compression:

Stored size: 527 Bytes

Contents

require 'spec_helper'

describe 'Resources' do
  it 'renders index template properly' do
    get '/resources'
    expect(response).to render_template(:index)
  end

  it 'renders show template properly' do
    get '/resources/1'
    expect(response).to render_template(:show)
  end

  it 'renders new template properly' do
    get '/resources/new'
    expect(response).to render_template(:new)
  end

  it 'renders edit template properly' do
    get '/resources/1/edit'
    expect(response).to render_template(:edit)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
aureus-3.0.5 spec/requests/resources_spec.rb
aureus-3.0.4 spec/requests/resources_spec.rb
aureus-3.0.3 spec/requests/resources_spec.rb
aureus-3.0.2 spec/requests/resources_spec.rb
aureus-3.0.1 spec/requests/resources_spec.rb
aureus-3.0.0 spec/requests/resources_spec.rb