Sha256: 447b22aa6e7e448fc1d511cd964d4a35b044a9b62cc91c237ae74ab0a460eda4

Contents?: true

Size: 384 Bytes

Versions: 3

Compression:

Stored size: 384 Bytes

Contents

require 'spec_helper'

feature "Attachments" 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"
    page.should have_selector "#attachments"
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
brightcontent-attachments-2.0.9 spec/features/attachments_spec.rb
brightcontent-attachments-2.0.8 spec/features/attachments_spec.rb
brightcontent-attachments-2.0.7 spec/features/attachments_spec.rb