Sha256: 08f3cddbccf4c50a4605dbc338c0c58970eb4197559e850ce097a3bbe02c681c

Contents?: true

Size: 516 Bytes

Versions: 2

Compression:

Stored size: 516 Bytes

Contents

require 'test_helper'

class NavigationTest < ActiveSupport::IntegrationCase
  test "basic horizontl form" do
    visit '/posts/new'
    assert page.has_selector?('form.form-horizontal'), "Form doesn't have class .form-horizontal"
    assert page.has_selector?('div.control-group'), ".control-group not found"
    within "div.control-group" do
      assert page.has_selector?('label.control-label'), ".control-label not found"
      assert page.has_selector?('div.controls'), ".controls not found"
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
twitter_bootstrap-helpers-0.0.2 test/integration/navigation_test.rb
twitter_bootstrap-helpers-0.0.1 test/integration/navigation_test.rb