Rename CanLookup RSpec shared example group to follow existing pattern

This commit is contained in:
Ryan Lue 2018-07-05 23:43:52 +08:00
parent 6ca5054d03
commit 113d13c3ad
4 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
require 'rails_helper' require 'rails_helper'
require 'models/concerns/can_lookup' require 'models/concerns/can_lookup_examples'
RSpec.describe Organization do RSpec.describe Organization do
include_examples 'CanLookup' include_examples 'CanLookup'

View file

@ -1,5 +1,5 @@
require 'rails_helper' require 'rails_helper'
require 'models/concerns/can_lookup' require 'models/concerns/can_lookup_examples'
RSpec.describe Ticket do RSpec.describe Ticket do
include_examples 'CanLookup' include_examples 'CanLookup'

View file

@ -2,7 +2,7 @@ require 'rails_helper'
require 'models/concerns/has_groups_examples' require 'models/concerns/has_groups_examples'
require 'models/concerns/has_roles_examples' require 'models/concerns/has_roles_examples'
require 'models/concerns/has_groups_permissions_examples' require 'models/concerns/has_groups_permissions_examples'
require 'models/concerns/can_lookup' require 'models/concerns/can_lookup_examples'
RSpec.describe User do RSpec.describe User do
let(:group_access_instance) { create(:agent_user) } let(:group_access_instance) { create(:agent_user) }