From 5defd8edab8ed8f1d2aea9ada4e7738e11ea2fca Mon Sep 17 00:00:00 2001 From: Daniel Weinmann Date: Thu, 2 Dec 2010 01:37:15 -0200 Subject: [PATCH] Removing cucumber and other unused stuff --- Gemfile | 10 +- Gemfile.lock | 38 --- app/helpers/application_helper.rb | 2 - app/helpers/projects_helper.rb | 2 - app/helpers/sessions_helper.rb | 2 - autotest/discover.rb | 16 -- config/cucumber.yml | 8 - config/database.yml | 3 - db/development_structure.sql | 18 +- features/step_definitions/web_steps.rb | 219 ------------------ features/support/env.rb | 58 ----- features/support/paths.rb | 33 --- lib/tasks/cucumber.rake | 53 ----- script/cucumber | 10 - spec/acceptance/signup_signin_feature_spec.rb | 16 -- spec/helpers/projects_helper_spec.rb | 13 -- spec/helpers/sessions_helper_spec.rb | 15 -- spec/helpers/user_sessions_helper_spec.rb | 13 -- 18 files changed, 7 insertions(+), 522 deletions(-) delete mode 100644 app/helpers/application_helper.rb delete mode 100644 app/helpers/projects_helper.rb delete mode 100644 app/helpers/sessions_helper.rb delete mode 100644 autotest/discover.rb delete mode 100644 config/cucumber.yml delete mode 100644 features/step_definitions/web_steps.rb delete mode 100644 features/support/env.rb delete mode 100644 features/support/paths.rb delete mode 100644 lib/tasks/cucumber.rake delete mode 100755 script/cucumber delete mode 100644 spec/acceptance/signup_signin_feature_spec.rb delete mode 100644 spec/helpers/projects_helper_spec.rb delete mode 100644 spec/helpers/sessions_helper_spec.rb delete mode 100644 spec/helpers/user_sessions_helper_spec.rb diff --git a/Gemfile b/Gemfile index e5c3ba4c..55402e60 100644 --- a/Gemfile +++ b/Gemfile @@ -10,17 +10,9 @@ gem "omniauth" gem 'maxim-sexy_pg_constraints' group :test, :development do - gem 'delorean' gem 'capybara' - gem 'database_cleaner' gem 'steak' - gem 'cucumber-rails' - gem 'cucumber' gem "rspec-rails", "~> 2.0.1" - gem 'spork' - gem 'launchy' - gem "rcov" gem 'factory_girl_rails' - gem 'autotest' - gem 'autotest-rails' end + diff --git a/Gemfile.lock b/Gemfile.lock index c030a268..1842609e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2,7 +2,6 @@ GEM remote: http://rubygems.org/ remote: http://gems.github.com/ specs: - ZenTest (4.4.0) abstract (1.0.0) actionmailer (3.0.0) actionpack (= 3.0.0) @@ -33,9 +32,6 @@ GEM addressable (2.2.2) arel (1.0.1) activesupport (~> 3.0.0) - autotest (4.4.5) - autotest-rails (4.1.0) - ZenTest builder (2.1.2) capybara (0.3.9) culerity (>= 0.2.4) @@ -44,22 +40,9 @@ GEM rack (>= 1.0.0) rack-test (>= 0.5.4) selenium-webdriver (>= 0.0.3) - chronic (0.3.0) compass (0.10.5) haml (>= 3.0.4) - configuration (1.1.0) - cucumber (0.9.0) - builder (~> 2.1.2) - diff-lcs (~> 1.1.2) - gherkin (~> 2.2.2) - json (~> 1.4.6) - term-ansicolor (~> 1.0.5) - cucumber-rails (0.3.2) - cucumber (>= 0.8.0) culerity (0.2.12) - database_cleaner (0.5.2) - delorean (0.2.1) - chronic diff-lcs (1.1.2) erubis (2.6.6) abstract (>= 1.0.0) @@ -73,17 +56,9 @@ GEM rack (>= 1.1.0, < 2) ffi (0.6.3) rake (>= 0.8.7) - gherkin (2.2.4) - json (~> 1.4.6) - term-ansicolor (~> 1.0.5) - trollop (~> 1.16.2) haml (3.0.21) i18n (0.4.1) - json (1.4.6) json_pure (1.4.6) - launchy (0.3.7) - configuration (>= 0.0.5) - rake (>= 0.8.1) mail (2.2.6.1) activesupport (>= 2.3.6) mime-types @@ -152,7 +127,6 @@ GEM rake (>= 0.8.4) thor (~> 0.14.0) rake (0.8.7) - rcov (0.9.9) rest-client (1.6.1) mime-types (>= 1.16) rspec (2.0.1) @@ -176,36 +150,24 @@ GEM ffi (>= 0.6.1) json_pure rubyzip - spork (0.8.4) steak (1.0.0) rspec - term-ansicolor (1.0.5) thor (0.14.2) treetop (1.4.8) polyglot (>= 0.3.1) - trollop (1.16.2) tzinfo (0.3.23) PLATFORMS ruby DEPENDENCIES - autotest - autotest-rails capybara compass - cucumber - cucumber-rails - database_cleaner - delorean factory_girl_rails haml - launchy maxim-sexy_pg_constraints omniauth pg rails (= 3.0.0) - rcov rspec-rails (~> 2.0.1) - spork steak diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb deleted file mode 100644 index de6be794..00000000 --- a/app/helpers/application_helper.rb +++ /dev/null @@ -1,2 +0,0 @@ -module ApplicationHelper -end diff --git a/app/helpers/projects_helper.rb b/app/helpers/projects_helper.rb deleted file mode 100644 index db5c5ce1..00000000 --- a/app/helpers/projects_helper.rb +++ /dev/null @@ -1,2 +0,0 @@ -module ProjectsHelper -end diff --git a/app/helpers/sessions_helper.rb b/app/helpers/sessions_helper.rb deleted file mode 100644 index 309f8b2e..00000000 --- a/app/helpers/sessions_helper.rb +++ /dev/null @@ -1,2 +0,0 @@ -module SessionsHelper -end diff --git a/autotest/discover.rb b/autotest/discover.rb deleted file mode 100644 index b3b44fd3..00000000 --- a/autotest/discover.rb +++ /dev/null @@ -1,16 +0,0 @@ -Autotest.add_discovery { "rails" } -Autotest.add_discovery { "rspec2" } - -Autotest.add_hook :initialize do |at| - at.add_mapping(%r%^spec/acceptance/.*_spec.rb$%, true) { |filename, _| - filename - } - - at.add_mapping(%r%^app/(models|controllers|helpers|lib)/.*rb$%, true) { - at.files_matching %r%^spec/acceptance/.*_spec.rb$% - } - - at.add_mapping(%r%^app/views/(.*)$%, true) { - at.files_matching %r%^spec/acceptance/.*_spec.rb$% - } -end diff --git a/config/cucumber.yml b/config/cucumber.yml deleted file mode 100644 index 621a14ce..00000000 --- a/config/cucumber.yml +++ /dev/null @@ -1,8 +0,0 @@ -<% -rerun = File.file?('rerun.txt') ? IO.read('rerun.txt') : "" -rerun_opts = rerun.to_s.strip.empty? ? "--format #{ENV['CUCUMBER_FORMAT'] || 'progress'} features" : "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} #{rerun}" -std_opts = "--format #{ENV['CUCUMBER_FORMAT'] || 'progress'} --strict --tags ~@wip" -%> -default: <%= std_opts %> features -wip: --tags @wip:3 --wip features -rerun: <%= rerun_opts %> --format rerun --out rerun.txt --strict --tags ~@wip diff --git a/config/database.yml b/config/database.yml index 1be30542..ef786f9b 100644 --- a/config/database.yml +++ b/config/database.yml @@ -50,6 +50,3 @@ production: username: catarse password: - -cucumber: - <<: *test \ No newline at end of file diff --git a/db/development_structure.sql b/db/development_structure.sql index e758645c..8424ca01 100644 --- a/db/development_structure.sql +++ b/db/development_structure.sql @@ -9,13 +9,6 @@ SET check_function_bodies = false; SET client_min_messages = warning; SET escape_string_warning = off; --- --- Name: plpgsql; Type: PROCEDURAL LANGUAGE; Schema: -; Owner: - --- - -CREATE OR REPLACE PROCEDURAL LANGUAGE plpgsql; - - SET search_path = public, pg_catalog; SET default_tablespace = ''; @@ -47,8 +40,8 @@ CREATE TABLE backers ( CREATE SEQUENCE backers_id_seq START WITH 1 INCREMENT BY 1 - NO MINVALUE NO MAXVALUE + NO MINVALUE CACHE 1; @@ -79,8 +72,8 @@ CREATE TABLE categories ( CREATE SEQUENCE categories_id_seq START WITH 1 INCREMENT BY 1 - NO MINVALUE NO MAXVALUE + NO MINVALUE CACHE 1; @@ -120,8 +113,8 @@ CREATE TABLE projects ( CREATE SEQUENCE projects_id_seq START WITH 1 INCREMENT BY 1 - NO MINVALUE NO MAXVALUE + NO MINVALUE CACHE 1; @@ -157,8 +150,8 @@ CREATE TABLE rewards ( CREATE SEQUENCE rewards_id_seq START WITH 1 INCREMENT BY 1 - NO MINVALUE NO MAXVALUE + NO MINVALUE CACHE 1; @@ -188,6 +181,7 @@ CREATE TABLE users ( uid character varying(255) NOT NULL, email character varying(255), name character varying(255), + nickname character varying(255), biography character varying(255), image_url character varying(255), newsletter boolean DEFAULT false, @@ -206,8 +200,8 @@ CREATE TABLE users ( CREATE SEQUENCE users_id_seq START WITH 1 INCREMENT BY 1 - NO MINVALUE NO MAXVALUE + NO MINVALUE CACHE 1; diff --git a/features/step_definitions/web_steps.rb b/features/step_definitions/web_steps.rb deleted file mode 100644 index 0f0af8aa..00000000 --- a/features/step_definitions/web_steps.rb +++ /dev/null @@ -1,219 +0,0 @@ -# IMPORTANT: This file is generated by cucumber-rails - edit at your own peril. -# It is recommended to regenerate this file in the future when you upgrade to a -# newer version of cucumber-rails. Consider adding your own code to a new file -# instead of editing this one. Cucumber will automatically load all features/**/*.rb -# files. - - -require 'uri' -require 'cgi' -require File.expand_path(File.join(File.dirname(__FILE__), "..", "support", "paths")) - -module WithinHelpers - def with_scope(locator) - locator ? within(locator) { yield } : yield - end -end -World(WithinHelpers) - -Given /^(?:|I )am on (.+)$/ do |page_name| - visit path_to(page_name) -end - -When /^(?:|I )go to (.+)$/ do |page_name| - visit path_to(page_name) -end - -When /^(?:|I )press "([^"]*)"(?: within "([^"]*)")?$/ do |button, selector| - with_scope(selector) do - click_button(button) - end -end - -When /^(?:|I )follow "([^"]*)"(?: within "([^"]*)")?$/ do |link, selector| - with_scope(selector) do - click_link(link) - end -end - -When /^(?:|I )fill in "([^"]*)" with "([^"]*)"(?: within "([^"]*)")?$/ do |field, value, selector| - with_scope(selector) do - fill_in(field, :with => value) - end -end - -When /^(?:|I )fill in "([^"]*)" for "([^"]*)"(?: within "([^"]*)")?$/ do |value, field, selector| - with_scope(selector) do - fill_in(field, :with => value) - end -end - -# Use this to fill in an entire form with data from a table. Example: -# -# When I fill in the following: -# | Account Number | 5002 | -# | Expiry date | 2009-11-01 | -# | Note | Nice guy | -# | Wants Email? | | -# -# TODO: Add support for checkbox, select og option -# based on naming conventions. -# -When /^(?:|I )fill in the following(?: within "([^"]*)")?:$/ do |selector, fields| - with_scope(selector) do - fields.rows_hash.each do |name, value| - When %{I fill in "#{name}" with "#{value}"} - end - end -end - -When /^(?:|I )select "([^"]*)" from "([^"]*)"(?: within "([^"]*)")?$/ do |value, field, selector| - with_scope(selector) do - select(value, :from => field) - end -end - -When /^(?:|I )check "([^"]*)"(?: within "([^"]*)")?$/ do |field, selector| - with_scope(selector) do - check(field) - end -end - -When /^(?:|I )uncheck "([^"]*)"(?: within "([^"]*)")?$/ do |field, selector| - with_scope(selector) do - uncheck(field) - end -end - -When /^(?:|I )choose "([^"]*)"(?: within "([^"]*)")?$/ do |field, selector| - with_scope(selector) do - choose(field) - end -end - -When /^(?:|I )attach the file "([^"]*)" to "([^"]*)"(?: within "([^"]*)")?$/ do |path, field, selector| - with_scope(selector) do - attach_file(field, path) - end -end - -Then /^(?:|I )should see JSON:$/ do |expected_json| - require 'json' - expected = JSON.pretty_generate(JSON.parse(expected_json)) - actual = JSON.pretty_generate(JSON.parse(response.body)) - expected.should == actual -end - -Then /^(?:|I )should see "([^"]*)"(?: within "([^"]*)")?$/ do |text, selector| - with_scope(selector) do - if page.respond_to? :should - page.should have_content(text) - else - assert page.has_content?(text) - end - end -end - -Then /^(?:|I )should see \/([^\/]*)\/(?: within "([^"]*)")?$/ do |regexp, selector| - regexp = Regexp.new(regexp) - with_scope(selector) do - if page.respond_to? :should - page.should have_xpath('//*', :text => regexp) - else - assert page.has_xpath?('//*', :text => regexp) - end - end -end - -Then /^(?:|I )should not see "([^"]*)"(?: within "([^"]*)")?$/ do |text, selector| - with_scope(selector) do - if page.respond_to? :should - page.should have_no_content(text) - else - assert page.has_no_content?(text) - end - end -end - -Then /^(?:|I )should not see \/([^\/]*)\/(?: within "([^"]*)")?$/ do |regexp, selector| - regexp = Regexp.new(regexp) - with_scope(selector) do - if page.respond_to? :should - page.should have_no_xpath('//*', :text => regexp) - else - assert page.has_no_xpath?('//*', :text => regexp) - end - end -end - -Then /^the "([^"]*)" field(?: within "([^"]*)")? should contain "([^"]*)"$/ do |field, selector, value| - with_scope(selector) do - field = find_field(field) - field_value = (field.tag_name == 'textarea') ? field.text : field.value - if field_value.respond_to? :should - field_value.should =~ /#{value}/ - else - assert_match(/#{value}/, field_value) - end - end -end - -Then /^the "([^"]*)" field(?: within "([^"]*)")? should not contain "([^"]*)"$/ do |field, selector, value| - with_scope(selector) do - field = find_field(field) - field_value = (field.tag_name == 'textarea') ? field.text : field.value - if field_value.respond_to? :should_not - field_value.should_not =~ /#{value}/ - else - assert_no_match(/#{value}/, field_value) - end - end -end - -Then /^the "([^"]*)" checkbox(?: within "([^"]*)")? should be checked$/ do |label, selector| - with_scope(selector) do - field_checked = find_field(label)['checked'] - if field_checked.respond_to? :should - field_checked.should be_true - else - assert field_checked - end - end -end - -Then /^the "([^"]*)" checkbox(?: within "([^"]*)")? should not be checked$/ do |label, selector| - with_scope(selector) do - field_checked = find_field(label)['checked'] - if field_checked.respond_to? :should - field_checked.should be_false - else - assert !field_checked - end - end -end - -Then /^(?:|I )should be on (.+)$/ do |page_name| - current_path = URI.parse(current_url).path - if current_path.respond_to? :should - current_path.should == path_to(page_name) - else - assert_equal path_to(page_name), current_path - end -end - -Then /^(?:|I )should have the following query string:$/ do |expected_pairs| - query = URI.parse(current_url).query - actual_params = query ? CGI.parse(query) : {} - expected_params = {} - expected_pairs.rows_hash.each_pair{|k,v| expected_params[k] = v.split(',')} - - if actual_params.respond_to? :should - actual_params.should == expected_params - else - assert_equal expected_params, actual_params - end -end - -Then /^show me the page$/ do - save_and_open_page -end diff --git a/features/support/env.rb b/features/support/env.rb deleted file mode 100644 index bb8018b8..00000000 --- a/features/support/env.rb +++ /dev/null @@ -1,58 +0,0 @@ -# IMPORTANT: This file is generated by cucumber-rails - edit at your own peril. -# It is recommended to regenerate this file in the future when you upgrade to a -# newer version of cucumber-rails. Consider adding your own code to a new file -# instead of editing this one. Cucumber will automatically load all features/**/*.rb -# files. - -ENV["RAILS_ENV"] ||= "test" -require File.expand_path(File.dirname(__FILE__) + '/../../config/environment') - -require 'cucumber/formatter/unicode' # Remove this line if you don't want Cucumber Unicode support -require 'cucumber/rails/rspec' -require 'cucumber/rails/world' -require 'cucumber/rails/active_record' -require 'cucumber/web/tableish' - -require 'capybara/rails' -require 'capybara/cucumber' -require 'capybara/session' -require 'cucumber/rails/capybara_javascript_emulation' # Lets you click links with onclick javascript handlers without using @culerity or @javascript -# Capybara defaults to XPath selectors rather than Webrat's default of CSS3. In -# order to ease the transition to Capybara we set the default here. If you'd -# prefer to use XPath just remove this line and adjust any selectors in your -# steps to use the XPath syntax. -Capybara.default_selector = :css - -# If you set this to false, any error raised from within your app will bubble -# up to your step definition and out to cucumber unless you catch it somewhere -# on the way. You can make Rails rescue errors and render error pages on a -# per-scenario basis by tagging a scenario or feature with the @allow-rescue tag. -# -# If you set this to true, Rails will rescue all errors and render error -# pages, more or less in the same way your application would behave in the -# default production environment. It's not recommended to do this for all -# of your scenarios, as this makes it hard to discover errors in your application. -ActionController::Base.allow_rescue = false - -# If you set this to true, each scenario will run in a database transaction. -# You can still turn off transactions on a per-scenario basis, simply tagging -# a feature or scenario with the @no-txn tag. If you are using Capybara, -# tagging with @culerity or @javascript will also turn transactions off. -# -# If you set this to false, transactions will be off for all scenarios, -# regardless of whether you use @no-txn or not. -# -# Beware that turning transactions off will leave data in your database -# after each scenario, which can lead to hard-to-debug failures in -# subsequent scenarios. If you do this, we recommend you create a Before -# block that will explicitly put your database in a known state. -Cucumber::Rails::World.use_transactional_fixtures = true -# How to clean your database when transactions are turned off. See -# http://github.com/bmabey/database_cleaner for more info. -if defined?(ActiveRecord::Base) - begin - require 'database_cleaner' - DatabaseCleaner.strategy = :truncation - rescue LoadError => ignore_if_database_cleaner_not_present - end -end diff --git a/features/support/paths.rb b/features/support/paths.rb deleted file mode 100644 index 06b3efb0..00000000 --- a/features/support/paths.rb +++ /dev/null @@ -1,33 +0,0 @@ -module NavigationHelpers - # Maps a name to a path. Used by the - # - # When /^I go to (.+)$/ do |page_name| - # - # step definition in web_steps.rb - # - def path_to(page_name) - case page_name - - when /the home\s?page/ - '/' - - # Add more mappings here. - # Here is an example that pulls values out of the Regexp: - # - # when /^(.*)'s profile page$/i - # user_profile_path(User.find_by_login($1)) - - else - begin - page_name =~ /the (.*) page/ - path_components = $1.split(/\s+/) - self.send(path_components.push('path').join('_').to_sym) - rescue Object => e - raise "Can't find mapping from \"#{page_name}\" to a path.\n" + - "Now, go and add a mapping in #{__FILE__}" - end - end - end -end - -World(NavigationHelpers) diff --git a/lib/tasks/cucumber.rake b/lib/tasks/cucumber.rake deleted file mode 100644 index 7db1a557..00000000 --- a/lib/tasks/cucumber.rake +++ /dev/null @@ -1,53 +0,0 @@ -# IMPORTANT: This file is generated by cucumber-rails - edit at your own peril. -# It is recommended to regenerate this file in the future when you upgrade to a -# newer version of cucumber-rails. Consider adding your own code to a new file -# instead of editing this one. Cucumber will automatically load all features/**/*.rb -# files. - - -unless ARGV.any? {|a| a =~ /^gems/} # Don't load anything when running the gems:* tasks - -vendored_cucumber_bin = Dir["#{Rails.root}/vendor/{gems,plugins}/cucumber*/bin/cucumber"].first -$LOAD_PATH.unshift(File.dirname(vendored_cucumber_bin) + '/../lib') unless vendored_cucumber_bin.nil? - -begin - require 'cucumber/rake/task' - - namespace :cucumber do - Cucumber::Rake::Task.new({:ok => 'db:test:prepare'}, 'Run features that should pass') do |t| - t.binary = vendored_cucumber_bin # If nil, the gem's binary is used. - t.fork = true # You may get faster startup if you set this to false - t.profile = 'default' - end - - Cucumber::Rake::Task.new({:wip => 'db:test:prepare'}, 'Run features that are being worked on') do |t| - t.binary = vendored_cucumber_bin - t.fork = true # You may get faster startup if you set this to false - t.profile = 'wip' - end - - Cucumber::Rake::Task.new({:rerun => 'db:test:prepare'}, 'Record failing features and run only them if any exist') do |t| - t.binary = vendored_cucumber_bin - t.fork = true # You may get faster startup if you set this to false - t.profile = 'rerun' - end - - desc 'Run all features' - task :all => [:ok, :wip] - end - desc 'Alias for cucumber:ok' - task :cucumber => 'cucumber:ok' - - task :default => :cucumber - - task :features => :cucumber do - STDERR.puts "*** The 'features' task is deprecated. See rake -T cucumber ***" - end -rescue LoadError - desc 'cucumber rake task not available (cucumber not installed)' - task :cucumber do - abort 'Cucumber rake task is not available. Be sure to install cucumber as a gem or plugin' - end -end - -end diff --git a/script/cucumber b/script/cucumber deleted file mode 100755 index 7fa5c920..00000000 --- a/script/cucumber +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/env ruby - -vendored_cucumber_bin = Dir["#{File.dirname(__FILE__)}/../vendor/{gems,plugins}/cucumber*/bin/cucumber"].first -if vendored_cucumber_bin - load File.expand_path(vendored_cucumber_bin) -else - require 'rubygems' unless ENV['NO_RUBYGEMS'] - require 'cucumber' - load Cucumber::BINARY -end diff --git a/spec/acceptance/signup_signin_feature_spec.rb b/spec/acceptance/signup_signin_feature_spec.rb deleted file mode 100644 index a82334aa..00000000 --- a/spec/acceptance/signup_signin_feature_spec.rb +++ /dev/null @@ -1,16 +0,0 @@ -require File.expand_path(File.dirname(__FILE__) + '/acceptance_helper') - -feature "Signup/signin Feature" do - - scenario "My first visit to the site and I want to login with twitter" do - - visit '/' - click_link 'Login' - click_link 'twitter' - - #current_path.should == '/login' - true.should == true - - end - -end diff --git a/spec/helpers/projects_helper_spec.rb b/spec/helpers/projects_helper_spec.rb deleted file mode 100644 index 52460633..00000000 --- a/spec/helpers/projects_helper_spec.rb +++ /dev/null @@ -1,13 +0,0 @@ -require 'spec_helper' - -# Specs in this file have access to a helper object that includes -# the ProjectsHelper. For example: -# -# describe ProjectsHelper do -# describe "string concat" do -# it "concats two strings with spaces" do -# helper.concat_strings("this","that").should == "this that" -# end -# end -# end - diff --git a/spec/helpers/sessions_helper_spec.rb b/spec/helpers/sessions_helper_spec.rb deleted file mode 100644 index c14cfa5b..00000000 --- a/spec/helpers/sessions_helper_spec.rb +++ /dev/null @@ -1,15 +0,0 @@ -require 'spec_helper' - -# Specs in this file have access to a helper object that includes -# the SessionsHelper. For example: -# -# describe SessionsHelper do -# describe "string concat" do -# it "concats two strings with spaces" do -# helper.concat_strings("this","that").should == "this that" -# end -# end -# end -describe SessionsHelper do - pending "add some examples to (or delete) #{__FILE__}" -end diff --git a/spec/helpers/user_sessions_helper_spec.rb b/spec/helpers/user_sessions_helper_spec.rb deleted file mode 100644 index fa9a959c..00000000 --- a/spec/helpers/user_sessions_helper_spec.rb +++ /dev/null @@ -1,13 +0,0 @@ -require 'spec_helper' - -# Specs in this file have access to a helper object that includes -# the UserSessionsHelper. For example: -# -# describe UserSessionsHelper do -# describe "string concat" do -# it "concats two strings with spaces" do -# helper.concat_strings("this","that").should == "this that" -# end -# end -# end -