Refactor stylesheets

This commit is contained in:
riggraz
2019-09-02 19:59:55 +02:00
parent 86286b634d
commit 66dde5ee91
15 changed files with 139 additions and 155 deletions

View File

@@ -1,15 +0,0 @@
require 'rails_helper'
# Specs in this file have access to a helper object that includes
# the PostsHelper. For example:
#
# describe PostsHelper do
# describe "string concat" do
# it "concats two strings with spaces" do
# expect(helper.concat_strings("this","that")).to eq("this that")
# end
# end
# end
RSpec.describe PostsHelper, type: :helper do
pending "add some examples to (or delete) #{__FILE__}"
end

View File

@@ -46,9 +46,9 @@ feature 'roadmap', type: :system, js: true do
within roadmap_columns do
expect(page).to have_selector(roadmap_column, count: 2)
expect(page).to have_selector(column_header, count: 2)
expect(page).to have_content(post_status_1.name)
expect(page).to have_content(post_status_2.name)
expect(page).not_to have_content(post_status_3.name)
expect(page).to have_content(/#{post_status_1.name}/i)
expect(page).to have_content(/#{post_status_2.name}/i)
expect(page).not_to have_content(/#{post_status_3.name}/i)
end
end
@@ -57,9 +57,9 @@ feature 'roadmap', type: :system, js: true do
within roadmap_columns do
expect(page).to have_selector(post_link, count: 2)
expect(page).to have_content(post1.title)
expect(page).to have_content(post2.title)
expect(page).not_to have_content(post3.title)
expect(page).to have_content(/#{post1.title}/)
expect(page).to have_content(/#{post2.title}/)
expect(page).not_to have_content(/#{post3.title}/)
end
end
@@ -67,9 +67,9 @@ feature 'roadmap', type: :system, js: true do
visit root_path
within roadmap_columns do
expect(page).to have_content(post1.board.name)
expect(page).to have_content(post2.board.name)
expect(page).not_to have_content(post3.board.name)
expect(page).to have_content(/#{post1.board.name}/i)
expect(page).to have_content(/#{post2.board.name}/i)
expect(page).not_to have_content(/#{post3.board.name}/i)
end
end
end