Sha256: 73aa1024308130a318e1735ae6c364b3efa89ff10f21d7f277e69162dbbcb588

Contents?: true

Size: 339 Bytes

Versions: 6

Compression:

Stored size: 339 Bytes

Contents

require "spec_helper"

feature 'Editing a feature in the admin system' do

  let(:feature) { FactoryGirl.create(:green_flag_feature) }

  scenario 'view edit page' do
    code = feature.code

    visit '/green_flag/admin/features'
    expect(page).to have_text(code)
    click_link code
    expect(page).to have_text(code)    
  end  

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
green_flag-0.4.0 spec/features/admin_spec.rb
green_flag-0.3.0 spec/features/admin_spec.rb
green_flag-0.2.0 spec/features/admin_spec.rb
green_flag-0.1.2 spec/features/admin_spec.rb
green_flag-0.1.1 spec/features/admin_spec.rb
green_flag-0.1.0 spec/features/admin_spec.rb