Skip to content

Commit

Permalink
Fix tests since we disabled global inclusion of RSpec methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Klaus Zanders committed Dec 13, 2023
1 parent 8619df2 commit c612eff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/controllers/kittens_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

require 'spec_helper'

describe KittensController, type: :controller do
RSpec.describe KittensController, type: :controller do
let(:user) { FactoryBot.create :admin }
let(:project) { FactoryBot.create :project }

Expand Down
2 changes: 1 addition & 1 deletion spec/features/project_kittens_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
# js:true will enable a JS-compatible browser (Chrome by default)
#
# Testing is done with Capybara and Selenium
describe 'Project kittens', type: :feature, js: true do
RSpec.describe 'Project kittens', type: :feature, js: true do
let(:permissions) { %w[view_kittens manage_kittens] }
let(:project) { FactoryBot.create :project, enabled_module_names: %w[kittens_module] }
let(:user) do
Expand Down

0 comments on commit c612eff

Please sign in to comment.