Sha256: 13279ff7f624360cb4e301f1a5aa58dceea8c804c270415a2e0bd41b5c7e082f

Contents?: true

Size: 570 Bytes

Versions: 2

Compression:

Stored size: 570 Bytes

Contents

describe ApplicationController do
  
  describe 'jump_back methods' do
  
    it 'has the redirect_back method' do
      expect(ApplicationController.new).to respond_to :redirect_back
    end
  
    it 'has the save_referer method' do
      expect(ApplicationController.new).to respond_to :save_referer
    end
  
    it 'has the return_to_referer method' do
      expect(ApplicationController.new).to respond_to :return_to_referer
    end
  
    it 'has the clear_referer method' do
      expect(ApplicationController.new).to respond_to :clear_referer
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jump_back-0.3.2 spec/controller/application_controller_spec.rb
jump_back-0.3.1 spec/controller/application_controller_spec.rb