Skip to content

Commit

Permalink
Update RSpec dependency.
Browse files Browse the repository at this point in the history
  • Loading branch information
tristandunn committed Jun 7, 2014
1 parent f59910c commit 3eae29b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion features/step_definitions/api_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

Then /^I should receive JSON for (\d+) users?$/ do |count|
@response[:users].tap do |users|
expect(users).to have(count).items
expect(users.length).to eq(count.to_i)

users.map do |user|
ObjectSpace._id2ref(user["id"].to_i)
Expand Down
2 changes: 1 addition & 1 deletion features/step_definitions/channel_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,6 @@
channel && channel.subscribed;
})

expect(subscribed).to be_false
expect(subscribed).to eq(false)
end
end
2 changes: 1 addition & 1 deletion features/step_definitions/event_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
wait do
events = page.evaluate_script("Pusher.instance.events[#{MultiJson.dump([channel, event].join(":"))}]")

expect(events).to have(1).item
expect(events.length).to eq(1)
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion pusher-fake.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Gem::Specification.new do |s|
s.add_development_dependency "pusher", "0.12.0"
s.add_development_dependency "rake", "10.3.2"
s.add_development_dependency "redcarpet", "3.1.2"
s.add_development_dependency "rspec", "2.14.1"
s.add_development_dependency "rspec", "3.0.0"
s.add_development_dependency "sinatra", "1.4.5"
s.add_development_dependency "yard", "0.8.7.4"
end
2 changes: 1 addition & 1 deletion spec/support/have_configuration_option_matcher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
@default = default
end

failure_message_for_should do |configuration|
failure_message do |configuration|
description = "expected configuration to have #{option.inspect} option"
description << " with a default of #{@default.inspect}" unless @default.nil?
description
Expand Down

0 comments on commit 3eae29b

Please sign in to comment.