Sha256: 4545b37738946ed49d444df6d7a97e85a2aeb386d96efbb5162d13d6f241eb89

Contents?: true

Size: 511 Bytes

Versions: 1

Compression:

Stored size: 511 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')

describe "Browse Dashboard files" do

  before do
    sign_in :user_with_fixtures
  end

  it "should show me some files (from the fixtures)" do
    click_link "dashboard"
    click_link "more Keywords"
    click_link "keyf"
    page.should have_content "Test mp3"
  end

  it "should allow me to edit files (from the fixtures)" do
    click_link "dashboard"
    click_link "Edit File"
    page.should have_content "Edit Test mp3"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sufia-3.0.0 spec/features/browse_dashboard_files.rb