diff --git a/spec/features/editor_spec.rb b/spec/features/editor_spec.rb index b3ca3b21..be8e89d4 100644 --- a/spec/features/editor_spec.rb +++ b/spec/features/editor_spec.rb @@ -18,17 +18,18 @@ describe 'Editor', js: true do describe 'Instructions Tab' do skip "is skipped" do - end + before(:each) { click_link(I18n.t('activerecord.attributes.exercise.instructions')) } it 'displays the exercise instructions' do expect(page).to have_content(exercise.instructions) end + end end describe 'Workspace Tab' do skip "is skipped" do - end + before(:each) { click_link(I18n.t('exercises.implement.workspace')) } it 'displays all visible files in a file tree' do @@ -83,6 +84,7 @@ describe 'Editor', js: true do end end end + end end describe 'Progress Tab' do