Skip to content

Commit

Permalink
remove unnecessary visits from spec
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-coggin committed Dec 5, 2023
1 parent 5855be9 commit 2349224
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions spec/services/content_changes_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -77,20 +77,9 @@
expect(changes.new_module?(alpha)).to be true
end

context 'with a module in progress' do
context 'and a module in progress' do
include_context 'with progress'
before do
create :visit,
id: 3,
visitor_token: '321',
user_id: user.id,
started_at: 5.days.ago

create :visit,
id: 4,
visitor_token: '654',
user_id: user.id,
started_at: 5.days.ago
start_module(alpha)
end

Expand Down

0 comments on commit 2349224

Please sign in to comment.