From 86df307d5fd7a2499ee4d57a76a547009ab43d90 Mon Sep 17 00:00:00 2001 From: Kyle Drake Date: Wed, 9 Oct 2019 14:57:12 -0700 Subject: [PATCH] Remove unneccessary test --- tests/acceptance/education_tests.rb | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/tests/acceptance/education_tests.rb b/tests/acceptance/education_tests.rb index 7b106934..d2e609bb 100644 --- a/tests/acceptance/education_tests.rb +++ b/tests/acceptance/education_tests.rb @@ -24,7 +24,7 @@ describe 'signup' do end it 'fails for unwhitelisted tag' do - @site = Fabricate.attributes_for(:site) + @site = Fabricate.attributes_for :site @class_tag = "mrteacher" # SecureRandom.uuid.gsub('-', '')[0..Tag::NAME_LENGTH_MAX-1] fill_in 'username', with: @site[:username] fill_in 'password', with: @site[:password] @@ -51,14 +51,6 @@ describe 'signup' do site.tags.first.name.must_equal @class_tag end - it 'fails to create for existing site' do - @existing_site = Fabricate :site - fill_in_valid - fill_in :username, with: @existing_site.username - click_button 'Create My Site' - page.must_have_content 'already taken' - end - it 'fails for multiple tags' do fill_in_valid fill_in :new_tags_string, with: 'derp, ie'