spec/lib/arpa/repositories/roles/finder_spec.rb in arpa-0.2.0 vs spec/lib/arpa/repositories/roles/finder_spec.rb in arpa-0.3.0

- old
+ new

@@ -1,9 +1,8 @@ require 'spec_helper' describe Arpa::Repositories::Roles::Finder, type: :repository, slow: true do - let(:record_001) { create :repository_role, name: 'role_01' } let(:record_002) { create :repository_role, name: 'role_02' } before do record_001 @@ -18,11 +17,10 @@ end it 'the result should be an Arpa::Entities::Role' do expect(result).to be_an Arpa::Entities::Role end - end describe '#all' do let(:result) { subject.all } @@ -35,9 +33,7 @@ end it 'the result should be an Array of Arpa::Entities::Role' do expect(result.first).to be_an Arpa::Entities::Role end - end - end