Sha256: 5755044d8035b289b114664b0c0692fbb5d71df20b5f247503af629afb862ab5

Contents?: true

Size: 370 Bytes

Versions: 17

Compression:

Stored size: 370 Bytes

Contents

require 'active_record/spec_helper'

require_all File.dirname(__FILE__) + "/../shared/" 

describe 'Scenario: users - :guest, :user, :admin' do
  context 'Guest user' do
    before(:each) do
      @guest ||= Guest.new
    end

    it_should_behave_like "Guest role" do
      let(:current_guest ) { @guest }
      let(:user) { current_ability(:guest) }
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
cantango-0.9.4.1 spec/active_record/scenarios/guest_user_admin/guest_user_spec.rb
cantango-0.9.4 spec/active_record/scenarios/guest_user_admin/guest_user_spec.rb
cantango-0.9.3.2 spec/active_record/scenarios/guest_user_admin/guest_user_spec.rb
cantango-0.8.9.5 spec/active_record/scenarios/guest_user_admin/guest_user_spec.rb
cantango-0.8.9.4 spec/active_record/scenarios/guest_user_admin/guest_user_spec.rb
cantango-0.8.9.3 spec/active_record/scenarios/guest_user_admin/guest_user_spec.rb
cantango-0.8.9.2 spec/active_record/scenarios/guest_user_admin/guest_user_spec.rb
cantango-0.8.9.1 spec/active_record/scenarios/guest_user_admin/guest_user_spec.rb
cantango-0.8.9 spec/active_record/scenarios/guest_user_admin/guest_user_spec.rb
cantango-0.8.8.1 spec/active_record/scenarios/guest_user_admin/guest_user_spec.rb
cantango-0.8.8 spec/active_record/scenarios/guest_user_admin/guest_user_spec.rb
cantango-0.8.7 spec/active_record/scenarios/guest_user_admin/guest_user_spec.rb
cantango-0.8.6.2 spec/active_record/scenarios/guest_user_admin/guest_user_spec.rb
cantango-0.8.6.1 spec/active_record/scenarios/guest_user_admin/guest_user_spec.rb
cantango-0.8.6 spec/active_record/scenarios/guest_user_admin/guest_user_spec.rb
cantango-0.8.5.1 spec/active_record/scenarios/guest_user_admin/guest_user_spec.rb
cantango-0.8.0 spec/active_record/scenarios/guest_user_admin/guest_user_spec.rb