Sha256: f8fc461a883e355b8030f7a632715b6c32e84f3b4ca90146f5d373bf8de29fd8

Contents?: true

Size: 265 Bytes

Versions: 2

Compression:

Stored size: 265 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_successful
    expect(response).to render_template('rot13')
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
high_voltage-3.1.1 spec/controllers/alternative_finder_controller_spec.rb
high_voltage-3.1.0 spec/controllers/alternative_finder_controller_spec.rb