Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (22 sloc) 0.622 kB
require File.expand_path '../../spec_helper', __FILE__
describe 'Maglev' do
describe '#root' do
it 'references Maglev::PERSISTENT_ROOT' do
Maglev.root.should == Maglev::PERSISTENT_ROOT
end
end
describe '#[]' do
it 'references Maglev::PERSISTENT_ROOT' do
message = 'hello world'
Maglev::PERSISTENT_ROOT[:message] = message
Maglev[:message].should == message
end
end
describe '#[]=' do
it 'updates Maglev::PERSISTENT_ROOT' do
message = 'hello world'
Maglev[:message] = message
Maglev::PERSISTENT_ROOT[:message].should == message
end
end
end
Jump to Line
Something went wrong with that request. Please try again.