Permalink
Browse files

end o day?

  • Loading branch information...
1 parent 6d677ef commit d1d7b88d61f58361e8367743c570af9c9f9d56fd @drapergeek committed Mar 26, 2012
Showing with 4 additions and 26 deletions.
  1. +4 −1 Gemfile
  2. +0 −9 features/step_definitions/signup_steps.rb
  3. +0 −5 spec/models/todo_spec.rb
  4. +0 −11 spec/views/todos/new.html.erb_spec.rb
View
@@ -5,9 +5,12 @@ gem 'sqlite3'
gem 'high_voltage'
gem 'dynamic_form'
+group :development, :test do
+ gem "rspec-rails"
+end
+
group :test do
gem "cucumber-rails", require: false
- gem "rspec-rails"
gem "spork"
gem "factory_girl_rails"
gem 'database_cleaner'
@@ -1,9 +0,0 @@
-When /^I register for an account with the email "([^"]*)"$/ do |email_address|
- click_link "Sign up for an account"
- fill_in "Email", with: email_address
- click_button "Create my account"
-end
-
-Then /^I should be signed in as "([^"]*)"$/ do |email_address|
- page.should have_css("[data-role='user-identification']", text: email_address)
-end
@@ -1,5 +0,0 @@
-require 'spec_helper'
-
-describe Todo do
- it { should validate_presence_of(:title) }
-end
@@ -1,11 +0,0 @@
-require 'spec_helper'
-
-describe "todos/new.htm.erb" do
- it "does not display errors unless they exist" do
- @todo = Todo.new
- render template: "todos/new"
-
- rendered.should_not have_css("ul.errors")
- end
-end
-

0 comments on commit d1d7b88

Please sign in to comment.