Commit 45a61861 authored by azul's avatar azul

test: remove unneeded fixture lines

fixtures :all in test_helper takes care of this for us.
parent 98ef7622
......@@ -2,9 +2,6 @@
require 'javascript_integration_test'
class CommentJavascriptTest < JavascriptIntegrationTest
fixtures :users, :groups
def setup
super
@blue = users(:blue)
......
require 'javascript_integration_test'
class DismissAllNoticesTest < JavascriptIntegrationTest
fixtures :users, :notices
def test_dismiss_all_notices_updates_page
login users(:blue)
msg = 'hey, check out this page'
......
require 'javascript_integration_test'
class GroupSettingsTest < JavascriptIntegrationTest
fixtures :users, 'group/memberships', :groups, :profiles
def setup
super
@user = users(:blue)
......
......@@ -4,8 +4,6 @@ class GroupWikiTest < JavascriptIntegrationTest
include Capybara::DSL
include Integration::Wiki
fixtures :users, :groups, 'group/memberships', :profiles
# let's not wait for wiki lock requests.
# They are triggered automatically when leaving the settings window
# Since they run after the page was left their response will not
......
......@@ -3,8 +3,6 @@ require 'javascript_integration_test'
class MessagingTest < JavascriptIntegrationTest
include Integration::Comments
fixtures :users, 'castle_gates/keys'
def test_send_message
login users(:blue)
send_message text, to: 'red'
......
......@@ -2,8 +2,6 @@ require 'javascript_integration_test'
class PageCreationTest < JavascriptIntegrationTest
fixtures :users, :groups, 'group/memberships'
def test_share_with_users
login
prepare_page :discussion_page
......
......@@ -5,8 +5,6 @@ require 'javascript_integration_test'
class PageSearchTest < JavascriptIntegrationTest
include Integration::Search
fixtures :all
def test_sphinx
user = users(:blue)
page = user.pages.first
......
......@@ -3,9 +3,6 @@
require 'javascript_integration_test'
class PageSidebarJavascriptTest < JavascriptIntegrationTest
fixtures :users, :groups, 'group/memberships', :pages
def setup
super
@user = users(:blue)
......
......@@ -5,8 +5,6 @@ require_relative '../helpers/integration/javascript/page_actions.rb'
class PageSidebarTest < IntegrationTest
include PageActions
fixtures :users, :groups, 'group/memberships', :pages
def setup
super
@user = users(:blue)
......
require 'javascript_integration_test'
class PageTrashTest < JavascriptIntegrationTest
fixtures :all
def setup
super
@user = users(:blue)
......
require 'javascript_integration_test'
class PeopleDirectoryTest < JavascriptIntegrationTest
fixtures :users, 'castle_gates/keys'
def setup
super
......
......@@ -4,8 +4,6 @@ require 'javascript_integration_test'
class TagSuggestionTest < JavascriptIntegrationTest
fixtures :all
def test_tag_from_user_suggestion
create_user_page tag_list: %w[summer winter],
created_by: users(:dolphin)
......
require 'test_helper'
require 'javascript_integration_test'
class TaskOverviewTest < JavascriptIntegrationTest
fixtures :users, :pages, 'page/terms', :tasks, 'task/participations'
def test_list_only_pages_with_assigned_tasks
login users(:blue)
visit '/me/tasks'
......
......@@ -2,8 +2,6 @@ require 'test_helper'
class Page::TagSuggestionsTest < ActiveSupport::TestCase
fixtures :all
def test_empty
assert_equal [], suggest_tags(nil, users(:blue))
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment