blob: be3ec77c21a4e38de69359ab04796b3c46bbc92f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
require File.dirname(__FILE__) + '/../spec_helper'
describe InfoRequestEvent, " when " do
it "should convert event parameters into YAML and back successfully" do
ire = InfoRequestEvent.new
example_params = { :foo => 'this is stuff', :bar => 83, :humbug => "yikes!!!" }
ire.params = example_params
ire.params_yaml.should == example_params.to_yaml
ire.params.should == example_params
end
end
|