Skip to content

Commit

Permalink
cleaning up white space
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanb committed Jan 15, 2012
1 parent 2914db5 commit cfab402
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
Copyright (c) 2012 Ryan Bates

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
Expand Down
6 changes: 3 additions & 3 deletions spec/private_pub/faye_extension_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@
message = @faye.incoming(@message, lambda { |m| m })
message["error"].should be_nil
end

it "should not let message carry the private pub token after server's validation" do
PrivatePub.config[:secret_token] = "good"
@message["channel"] = "/custom/channel"
@message["ext"]["private_pub_token"] = PrivatePub.config[:secret_token]
message = @faye.incoming(@message, lambda { |m| m })
message['ext']["private_pub_token"].should be_nil
message['ext']["private_pub_token"].should be_nil
end

end

0 comments on commit cfab402

Please sign in to comment.