Skip to content

Commit

Permalink
capybara specs should be in spec/features
Browse files Browse the repository at this point in the history
  • Loading branch information
Crunch09 committed Aug 4, 2013
1 parent b9792af commit 244b3da
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
end
ids = []

describe "General data", type: :feature do
describe "General data" do
it "works in general" do
get simple_index_products_path
response.status.should be(200)
Expand All @@ -46,7 +46,7 @@
# page.should have_content(sprintf(Tabulatr::TABLE_OPTIONS[:info_text], 0, 0, 0, 0))
# end

it "contains the actual data", type: :feature, js: true do
it "contains the actual data", js: true do
product = Product.create!(:title => names[0], :active => true, :price => 10.0)
product.vendor = @vendor1
product.save!
Expand Down Expand Up @@ -96,7 +96,7 @@
end
end

describe "Pagination", type: :feature do
describe "Pagination" do


context 'pagination setting is true' do
Expand Down

0 comments on commit 244b3da

Please sign in to comment.