Sha256: 30cb84d5bc1711119bc2e7514e5c9bf7a4566e7fc895621c2fc9f9d2d49d9961

Contents?: true

Size: 278 Bytes

Versions: 3

Compression:

Stored size: 278 Bytes

Contents

require "rails_helper"

feature "form_for_helper", js: true do
  before do
    visit form_for_helper_path
  end

  it 'renders all of the helpers with ng-model' do
    expect(page).not_to have_content(42)
    click_button "Submit"
    expect(page).to have_content(42)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
angular_sprinkles-0.3.3 spec/features/form_for_helper_spec.rb
angular_sprinkles-0.3.2 spec/features/form_for_helper_spec.rb
angular_sprinkles-0.3.1 spec/features/form_for_helper_spec.rb