Sha256: 18e9bb146df0d5d527cedbe41b2483e6230f55f1198d1300aea19472e091293b
Contents?: true
Size: 433 Bytes
Versions: 4
Compression:
Stored size: 433 Bytes
Contents
require 'spec_helper' class Context include CanTango::Api::Options def session {} end end describe CanTango::Api::Options do subject { Context.new } describe 'ability_options' do specify do subject.ability_options[:session].should == {} end end describe 'options_list' do specify { subject.options_list.should == [:session, :request, :params, :controller, :domain, :cookies] } end end
Version data entries
4 entries across 4 versions & 1 rubygems