Merge pull request #2060 from consul/consul-design

Consul design
This commit is contained in:
Raimond Garcia
2017-10-16 10:48:41 +02:00
committed by GitHub
19 changed files with 271 additions and 160 deletions

View File

@@ -23,7 +23,7 @@ feature 'Admin tags' do
within("form.new_tag") do
fill_in "tag_name", with: 'important issues'
click_button 'Create Topic'
click_button 'Create topic'
end
visit admin_tags_path
@@ -39,8 +39,8 @@ feature 'Admin tags' do
expect(page).to have_content @tag1.name
expect(page).to have_content tag2.name
within("#edit_tag_#{tag2.id}") do
click_link 'Destroy Topic'
within("#tag_#{tag2.id}") do
click_link 'Destroy topic'
end
visit admin_tags_path
@@ -58,8 +58,8 @@ feature 'Admin tags' do
expect(page).to have_content @tag1.name
expect(page).to have_content tag2.name
within("#edit_tag_#{tag2.id}") do
click_link 'Destroy Topic'
within("#tag_#{tag2.id}") do
click_link 'Destroy topic'
end
visit admin_tags_path
@@ -81,7 +81,7 @@ feature 'Admin tags' do
within("form.new_tag") do
fill_in "tag_name", with: "wow_category"
click_button 'Create Topic'
click_button 'Create topic'
end
expect(ActsAsTaggableOn::Tag.category.where(name: "wow_category")).to exist