Rename CanLookup RSpec shared example group to follow existing pattern
This commit is contained in:
parent
6ca5054d03
commit
113d13c3ad
4 changed files with 3 additions and 3 deletions
|
@ -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'
|
||||||
|
|
|
@ -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'
|
||||||
|
|
|
@ -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) }
|
||||||
|
|
Loading…
Reference in a new issue