Sha256: 54bb2ec5404c2cbb1fdd968a92ca7e419d236f41d99cd7669566504131f11235

Contents?: true

Size: 254 Bytes

Versions: 6

Compression:

Stored size: 254 Bytes

Contents

require 'spec_helper'

describe AlternativeFinderController do
  render_views

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

    response.should be_success
    response.should render_template('rot13')
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
high_voltage-2.1.0 spec/controllers/alternative_finder_controller_spec.rb
high_voltage-2.0.0 spec/controllers/alternative_finder_controller_spec.rb
high_voltage-1.2.4 spec/controllers/alternative_finder_controller_spec.rb
high_voltage-1.2.3 spec/controllers/alternative_finder_controller_spec.rb
high_voltage-1.2.2 spec/controllers/alternative_finder_controller_spec.rb
high_voltage-1.2.1 spec/controllers/alternative_finder_controller_spec.rb