Sha256: 5e524cbf234a3abfa0ae707fa7ccbdfafa5f4d5c649a10055c72346af2cfb73d
Contents?: true
Size: 439 Bytes
Versions: 5
Compression:
Stored size: 439 Bytes
Contents
require File.dirname(__FILE__) + "/../spec_helper" describe Deadlinez::Proxy do describe "#strip_params" do it "should remove action and controller" do params = { :action => 'something', :controller => 'whatever', :key => '89fdsa8fd88a99s9ss' } result = Deadlinez::Proxy.strip_params(params) result[:action].should be_nil result[:controller].should be_nil end end end
Version data entries
5 entries across 5 versions & 1 rubygems