Sha256: 6158855fd5969fc6287cea52b9e124bdc7be4c818e454c1e5ace5e4abd9a4ab4

Contents?: true

Size: 529 Bytes

Versions: 3

Compression:

Stored size: 529 Bytes

Contents

describe ApplicationController do
  
  it 'should have the redirect_back method' do
    expect(ApplicationController.new).to respond_to :redirect_back
  end

  it 'should have the save_referer method' do
    expect(ApplicationController.new).to respond_to :save_referer
  end

  it 'should have the return_to_referer method' do
    expect(ApplicationController.new).to respond_to :return_to_referer
  end

  it 'should have the clear_referer method' do
    expect(ApplicationController.new).to respond_to :clear_referer
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jump_back-0.2.1 spec/controller/application_controller_spec.rb
jump_back-0.1.1 spec/controller/application_controller_spec.rb
jump_back-0.0.1 spec/controller/application_controller_spec.rb