Sha256: 7cee6614f163dd79c01e2d2f159c563b48e9e194dc6d4ee9dd65149e70558a45

Contents?: true

Size: 262 Bytes

Versions: 5

Compression:

Stored size: 262 Bytes

Contents

require 'spec_helper'

describe AlternativeFinderController do
  render_views

  it 'renders the file from the alternative directory' do
    get :show, :id => 'ebg13'

    expect(response).to be_success
    expect(response).to render_template('rot13')
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
high_voltage-3.0.0 spec/controllers/alternative_finder_controller_spec.rb
high_voltage-2.4.0 spec/controllers/alternative_finder_controller_spec.rb
high_voltage-2.3.0 spec/controllers/alternative_finder_controller_spec.rb
high_voltage-2.2.1 spec/controllers/alternative_finder_controller_spec.rb
high_voltage-2.2.0 spec/controllers/alternative_finder_controller_spec.rb