Sha256: 9871c042842a3272487cabd055783a80f09c6800c8a092f521736762701baea5

Contents?: true

Size: 334 Bytes

Versions: 5

Compression:

Stored size: 334 Bytes

Contents

require 'spec_helper'

feature "Assets" do
  it "show message if item is not saved" do
    sign_in
    click_link "Blogs"
    click_link "Create new Blog"
    page.should have_content "First save to enable uploads"
  end

  it "show upload form" do
    create(:blog)
    sign_in
    click_link "Blogs"
    click_link "Edit"
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
brightcontent-assets-2.0.5 spec/features/assets_spec.rb
brightcontent-assets-2.0.3 spec/features/assets_spec.rb
brightcontent-assets-2.0.2 spec/features/assets_spec.rb
brightcontent-assets-2.0.1 spec/features/assets_spec.rb
brightcontent-assets-2.0.0.alpha6 spec/features/assets_spec.rb