Permalink
Browse files

Merge branch 'master' of https://github.com/holamon/memetalk into hol…

…amon-master
  • Loading branch information...
2 parents 82188d2 + fdfe597 commit 343b76afc15d237252969169b56d30a832a0325d @txus committed Feb 14, 2011
Showing with 3 additions and 3 deletions.
  1. +1 −1 Rakefile
  2. +1 −1 lib/memetalk.rb
  3. +1 −1 spec/memetalk_spec.rb
View
@@ -6,7 +6,7 @@ RSpec::Core::RakeTask.new(:spec) do |spec|
spec.pattern = FileList['spec/**/*_spec.rb']
end
-task default: :spec
+task :default => :spec
desc 'hey'
task :publish do
View
@@ -17,7 +17,7 @@ def run argv = ARGV
def publish link
EM.run do
- Talker::Client.connect(room: room, token: token) do |client|
+ Talker::Client.connect(:room => room, :token => token) do |client|
client.on_connected do
client.send_message link
client.close
View
@@ -30,7 +30,7 @@
Memetalk.stub(:token).and_return token
Memetalk.stub(:room).and_return room
- Talker::Client.should_receive(:connect).with(room: room, token: token).and_yield client
+ Talker::Client.should_receive(:connect).with(:room => room, :token => token).and_yield client
# on connected callback
client.should_receive(:on_connected).and_yield

0 comments on commit 343b76a

Please sign in to comment.