Project

General

Profile

Revision 7ff105d1

Added by David Davis about 7 years ago

Fixes #12681 - Support rubocop 0.35.1 by fixing broken rules

View differences:

test/integration/container_steps_test.rb
1 1
require 'test_helper'
2 2

  
3 3
class ContainerStepsTest < ActionDispatch::IntegrationTest
4
  test 'shows a link to a new compute resource if none is available'  do
4
  test 'shows a link to a new compute resource if none is available' do
5 5
    visit new_container_path
6 6
    assert has_selector?("div.alert", :text => 'Please add a new one')
7 7
  end
8 8

  
9
  test 'shows taxonomies tabs'  do
9
  test 'shows taxonomies tabs' do
10 10
    visit new_container_path
11 11
    assert has_selector?("a", :text => 'Locations') if SETTINGS[:locations_enabled]
12 12
    assert has_selector?("a", :text => 'Organizations') if SETTINGS[:organizations_enabled]

Also available in: Unified diff