Sha256: a3200a6b994693de0f5ea1c518b024bfbe28037104f58831cf61c427a4b8c726
Contents?: true
Size: 516 Bytes
Versions: 2
Compression:
Stored size: 516 Bytes
Contents
require 'spec_helper' describe Hara do it 'Hara::Application should equal with App' do App = Class.new do include Hara::App end App.should == Hara::Application end it 'Hara.env should be development' do Hara.env.should == :development end it 'Hara.encode_msg & decode_msg should work' do action = 'hello_world' args = ['hello', 'world'] action_d, args_d = Hara.decode_msg Hara.encode_msg(action, *args) action.should == action_d args.should == args_d end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hara-0.2.2 | spec/hara_spec.rb |
hara-0.2.1 | spec/hara_spec.rb |