spec/features/jasmine_spec.rb in redmine_extensions-0.3.00 vs spec/features/jasmine_spec.rb in redmine_extensions-0.3.2
- old
+ new
@@ -1,7 +1,5 @@
-require 'rails_helper'
-
-RSpec.describe 'jasmine', type: :feature, js: true do
+RSpec.describe 'jasmine', type: :feature, js: true, logged: :admin do
it 'run tests' do
visit "/dummy_entities?jasmine=true"
expect(page).to have_css('.jasmine-bar')
expect(page.evaluate_script('window.jasmineHelper.parseResult();')).to eq('success')