Skip to content

Commit

Permalink
update spec files
Browse files Browse the repository at this point in the history
  • Loading branch information
ana-ci committed Jan 14, 2011
1 parent aa1c1b4 commit 4385adc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions spec/projects_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
end

stubs = Faraday::Adapter::Test::Stubs.new do |stub|
ACCESS_TOKEN = { "access_token" => "01234567890abcdef", "refresh_token" => "01234567890abcdef", "expires_in" => 1209600, "username" => "anymoto" }
#ACCESS_TOKEN = { "access_token" => "01234567890abcdef", "refresh_token" => "01234567890abcdef", "expires_in" => 1209600, "username" => "anymoto" }
stub.post('/authorization/token') { [200, {}, ACCESS_TOKEN.to_json] }
end

Expand Down Expand Up @@ -61,8 +61,6 @@
it "should be able to update and save a project" do
@project = @ticketmaster.project(@project_id)
@project.update!(:short_name => 'some new name').should == true
@project.short_name = 'this is a change'
@project.save.should == true
end

it "should be able to create a project" do
Expand Down
2 changes: 1 addition & 1 deletion spec/tickets_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
end

stubs = Faraday::Adapter::Test::Stubs.new do |stub|
ACCESS_TOKEN = { "access_token" => "01234567890abcdef", "refresh_token" => "01234567890abcdef", "expires_in" => 1209600, "username" => "anymoto" }
#ACCESS_TOKEN = { "access_token" => "01234567890abcdef", "refresh_token" => "01234567890abcdef", "expires_in" => 1209600, "username" => "anymoto" }
stub.post('/authorization/token') { [200, {}, ACCESS_TOKEN.to_json] }
end

Expand Down

0 comments on commit 4385adc

Please sign in to comment.