Skip to content

Commit

Permalink
ActionView::RecordIdentifier was bleeding into other specs and causin…
Browse files Browse the repository at this point in the history
…g failures.
  • Loading branch information
gwagener committed May 2, 2014
1 parent 3abe644 commit 80c14e9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ end
gem 'jquery-rails'

group :development, :test do
gem 'pry'
gem 'launchy'
gem 'generator_spec', '~> 0.9.0'

require 'rbconfig'
Expand Down
15 changes: 5 additions & 10 deletions spec/features/refinery/portfolio/admin/items_spec.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
require "spec_helper"
include ActionView::RecordIdentifier

module Refinery
module Portfolio
Expand Down Expand Up @@ -36,7 +35,7 @@ module Admin

it "shows items" do
visit refinery.portfolio_admin_galleries_path
within("##{dom_id(gallery)}") do
within("#gallery_#{gallery.id}") do
click_link '1 image'
end
page.should have_content(galleried_item.title)
Expand All @@ -59,24 +58,20 @@ module Admin
end

context "invalid data" do
it "fails" do
end
it "fails"
end

context "duplicate" do
it "fails" do
end
it "fails"
end
end

describe "edit" do
it "succeeds" do
end
it "succeeds"
end

describe "destroy" do
it "succeeds" do
end
it "succeeds"
end

end
Expand Down

0 comments on commit 80c14e9

Please sign in to comment.