Add sign in

@gabebw @Euraldius 

I'm going through the Upcase TDD tutorial and I'm running into this error: ```
spec/rails_helper.rb:45:in `block in <top (required)>': uninitialized constant Features (NameError)```

I've tried a couple of different things. I moved code out of rails_helper.rb to sign_in.rb:
```Ruby
module Features
  def sign_in
    visit root_path
  end
end

RSpec.configure do |config|
  config.include Features, type: :feature
end
```
While I no longer get a `NameError`, sign_in becomes an undefined local variable which is what the module was negating in the first place. I have since switched it back.

I think the problem originated in my Gemfile. I started the tutorial last week? When I started, the tutorial was using rails 3 and ruby 1.8. (I think). When the tutorial was updated, I went back and redid the work I started. The versions of rspec and capybara have been constantly changing throughout the course of this app. First to compensate for using rails 3, then i just used the latest versions. I switched them to their current state as a means to troubleshoot (the tutorial calls for  rspec-rails 3.0.1 and capybara 2.3.0.

Here is the entire error:

```
/Users/Renee/.rubies/ruby-2.1.2/bin/ruby -I/Users/Renee/.gem/ruby/2.1.2/gems/rspec-core-3.0.4/lib:/Users/Renee/.gem/ruby/2.1.2/gems/rspec-support-3.0.4/lib -S /Users/Renee/.gem/ruby/2.1.2/gems/rspec-core-3.0.4/exe/rspec ./spec/features/user_creates_new_todolist_spec.rb ./spec/features/view_homepage_spec.rb
/Users/Renee/TDD/todo_list/spec/rails_helper.rb:45:in `block in <top (required)>': uninitialized constant Features (NameError)
        from /Users/Renee/.gem/ruby/2.1.2/gems/rspec-core-3.0.4/lib/rspec/core.rb:79:in `configure'
        from /Users/Renee/TDD/todo_list/spec/rails_helper.rb:27:in `<top (required)>'
        from /Users/Renee/TDD/todo_list/spec/features/user_creates_new_todolist_spec.rb:1:in `require'
        from /Users/Renee/TDD/todo_list/spec/features/user_creates_new_todolist_spec.rb:1:in `<top (required)>'
        from /Users/Renee/.gem/ruby/2.1.2/gems/rspec-core-3.0.4/lib/rspec/core/configuration.rb:1058:in `load'
        from /Users/Renee/.gem/ruby/2.1.2/gems/rspec-core-3.0.4/lib/rspec/core/configuration.rb:1058:in `block in load_spec_files'
        from /Users/Renee/.gem/ruby/2.1.2/gems/rspec-core-3.0.4/lib/rspec/core/configuration.rb:1058:in `each'
        from /Users/Renee/.gem/ruby/2.1.2/gems/rspec-core-3.0.4/lib/rspec/core/configuration.rb:1058:in `load_spec_files'
        from /Users/Renee/.gem/ruby/2.1.2/gems/rspec-core-3.0.4/lib/rspec/core/runner.rb:97:in `setup'
        from /Users/Renee/.gem/ruby/2.1.2/gems/rspec-core-3.0.4/lib/rspec/core/runner.rb:85:in `run'
        from /Users/Renee/.gem/ruby/2.1.2/gems/rspec-core-3.0.4/lib/rspec/core/runner.rb:70:in `run'
        from /Users/Renee/.gem/ruby/2.1.2/gems/rspec-core-3.0.4/lib/rspec/core/runner.rb:38:in `invoke'
        from /Users/Renee/.gem/ruby/2.1.2/gems/rspec-core-3.0.4/exe/rspec:4:in `<main>'
/Users/Renee/.rubies/ruby-2.1.2/bin/ruby -I/Users/Renee/.gem/ruby/2.1.2/gems/rspec-core-3.0.4/lib:/Users/Renee/.gem/ruby/2.1.2/gems/rspec-support-3.0.4/lib -S /Users/Renee/.gem/ruby/2.1.2/gems/rspec-core-3.0.4/exe/rspec ./spec/features/user_creates_new_todolist_spec.rb ./spec/features/view_homepage_spec.rb failed
```

Any feedback would be helpful.
OK, cool.

On Mon, Oct 6, 2014 at 8:44 AM, Sherry Seibel <notifications@github.com>
wrote:

> In spec/spec_helper.rb:
>
> > @@ -2,7 +2,7 @@
> >
> >  RSpec.configure do |config|
> >    config.expect_with :rspec do |expectations|
> > -    expectations.include_chain_clauses_in_custom_matcher_descriptions = true
> > +    # expectations.include_chain_clauses_in_custom_matcher_descriptions = true
>
> When left uncommented, it throws this error
>
> Users/Renee/.rubies/ruby-2.1.2/bin/ruby -I/Users/Renee/.gem/ruby/2.1.2/gems/rspec-core-3.0.4/lib:/Users/Renee/.gem/ruby/2.1.2/gems/rspec-support-3.0.4/lib -S /Users/Renee/.gem/ruby/2.1.2/gems/rspec-core-3.0.4/exe/rspec ./spec/features/user_creates_new_todolist_spec.rb ./spec/features/view_homepage_spec.rb
> /Users/Renee/TDD/todo_list/spec/spec_helper.rb:5:in `block (2 levels) in <top (required)>': undefined method `include_chain_clauses_in_custom_matcher_descriptions=' for #<RSpec::Expectations::Configuration:0x007f8486c5c3a0> (NoMethodError)
>         from /Users/Renee/.gem/ruby/2.1.2/gems/rspec-core-3.0.4/lib/rspec/core/configuration.rb:545:in `expect_with'
>         from /Users/Renee/TDD/todo_list/spec/spec_helper.rb:4:in `block in <top (required)>'
>         from /Users/Renee/.gem/ruby/2.1.2/gems/rspec-core-3.0.4/lib/rspec/core.rb:79:in `configure'
>         from /Users/Renee/TDD/todo_list/spec/spec_helper.rb:3:in `<top (required)>'
>         from /Users/Renee/TDD/todo_list/spec/rails_helper.rb:3:in `require'
>         from /Users/Renee/TDD/todo_list/spec/rails_helper.rb:3:in `<top (required)>'
>         from /Users/Renee/TDD/todo_list/spec/features/user_creates_new_todolist_spec.rb:1:in `require'
>         from /Users/Renee/TDD/todo_list/spec/features/user_creates_new_todolist_spec.rb:1:in `<top (required)>'
>         from /Users/Renee/.gem/ruby/2.1.2/gems/rspec-core-3.0.4/lib/rspec/core/configuration.rb:1058:in `load'
>         from /Users/Renee/.gem/ruby/2.1.2/gems/rspec-core-3.0.4/lib/rspec/core/configuration.rb:1058:in `block in load_spec_files'
>         from /Users/Renee/.gem/ruby/2.1.2/gems/rspec-core-3.0.4/lib/rspec/core/configuration.rb:1058:in `each'
>         from /Users/Renee/.gem/ruby/2.1.2/gems/rspec-core-3.0.4/lib/rspec/core/configuration.rb:1058:in `load_spec_files'
>         from /Users/Renee/.gem/ruby/2.1.2/gems/rspec-core-3.0.4/lib/rspec/core/runner.rb:97:in `setup'
>         from /Users/Renee/.gem/ruby/2.1.2/gems/rspec-core-3.0.4/lib/rspec/core/runner.rb:85:in `run'
>         from /Users/Renee/.gem/ruby/2.1.2/gems/rspec-core-3.0.4/lib/rspec/core/runner.rb:70:in `run'
>         from /Users/Renee/.gem/ruby/2.1.2/gems/rspec-core-3.0.4/lib/rspec/core/runner.rb:38:in `invoke'
>         from /Users/Renee/.gem/ruby/2.1.2/gems/rspec-core-3.0.4/exe/rspec:4:in `<main>'
> /Users/Renee/.rubies/ruby-2.1.2/bin/ruby -I/Users/Renee/.gem/ruby/2.1.2/gems/rspec-core-3.0.4/lib:/Users/Renee/.gem/ruby/2.1.2/gems/rspec-support-3.0.4/lib -S /Users/Renee/.gem/ruby/2.1.2/gems/rspec-core-3.0.4/exe/rspec ./spec/features/user_creates_new_todolist_spec.rb ./spec/features/view_homepage_spec.rb failed
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/SherrySeibel/todo_list/pull/2/files#r18453992>.
>



-- 
Gabe Berke-Williams
http://gabebw.com/