Sha256: f487f1e7910e299bb48de16fd70290845a65536be611336ba4962bb812333d06

Contents?: true

Size: 665 Bytes

Versions: 4

Compression:

Stored size: 665 Bytes

Contents

require_all File.dirname(__FILE__) + '/api'

def define_users
  let(:no_roles_user) { create_no_roles_user  }
  let(:user)          { create_user  }
  let(:admin_user)    { create_admin_user  }
end  

shared_examples_for "Troles API" do
  include UserSetup 
     
  it_behaves_like "Troles Core API" do
    define_users
  end  

  it_behaves_like "Troles Cache API" do
    define_users
  end  

  it_behaves_like "Troles Event API" do
    define_users
  end  

  it_behaves_like "Troles Read API" do
    define_users
  end  

  it_behaves_like "Troles Validation API" do
    define_users
  end  

  it_behaves_like "Troles Write API" do
    define_users
  end  
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
troles-0.6.1 spec/troles/api_spec.rb
troles-0.6.0 spec/troles/api_spec.rb
troles-0.5.2 spec/troles/api_spec.rb
troles-0.5.1 spec/troles/api_spec.rb