Skip to content
Browse files

Remove Pending Rspec

  • Loading branch information...
1 parent 233b11d commit 0d9123cd2da4a790d8c9c4da2e134cbc7562fad6 George Diaz committed
Showing with 7 additions and 2 deletions.
  1. +5 −2 spec/app_spec.rb
  2. +2 −0 spec/spec_helper.rb
View
7 spec/app_spec.rb
@@ -2,14 +2,17 @@
describe "My Sites Pages" do
+ before(:each) do
+ Twitter.stub!(:configure).and_return true
+ Twitter.stub!(:user_timeline).and_return([])
+ end
+
it "should respond successfuly to homepage" do
- pending("Research Twitter API call")
get '/'
last_response.should be_ok
end
it "should persist homepage text name" do
- pending("Dependent on Twitter Fix")
get '/'
last_response.body.should match(/George's Portfolio/)
end
View
2 spec/spec_helper.rb
@@ -1,6 +1,8 @@
require 'sinatra'
require 'bundler/setup'
require 'active_attr'
+require 'twitter'
+require 'haml'
require File.join(File.dirname(__FILE__), '..', 'app')
require 'rack/test'
require 'test/unit'

0 comments on commit 0d9123c

Please sign in to comment.
Something went wrong with that request. Please try again.