Refactor: merge assertions in tests
This commit is contained in:
1 parent
7d7d6da8b5
commit
3384dd3dbd
1 file changed
-6
@@ -36,9 +36,6 @@ class IssueFilteringTest < ActionController::IntegrationTest
|
|||||||
assert_select "td", :text => /None/ do
|
assert_select "td", :text => /None/ do
|
||||||
assert_select "span.count", "(1)"
|
assert_select "span.count", "(1)"
|
||||||
end
|
end
|
||||||
end
|
|
||||||
|
|
||||||
assert_select "tr.group" do
|
|
||||||
assert_select "td", :text => Regexp.new(@deliverable.title) do
|
assert_select "td", :text => Regexp.new(@deliverable.title) do
|
||||||
assert_select "span.count", "(1)"
|
assert_select "span.count", "(1)"
|
||||||
end
|
end
|
||||||
@@ -64,9 +61,6 @@ class IssueFilteringTest < ActionController::IntegrationTest
|
|||||||
assert_select "td", :text => /None/ do
|
assert_select "td", :text => /None/ do
|
||||||
assert_select "span.count", "(1)"
|
assert_select "span.count", "(1)"
|
||||||
end
|
end
|
||||||
end
|
|
||||||
|
|
||||||
assert_select "tr.group" do
|
|
||||||
assert_select "td", :text => Regexp.new(@contract.name) do
|
assert_select "td", :text => Regexp.new(@contract.name) do
|
||||||
assert_select "span.count", "()"
|
assert_select "span.count", "()"
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in new issue
Block a user