spec/arachni/framework/parts/platform_spec.rb in arachni-1.2.1 vs spec/arachni/framework/parts/platform_spec.rb in arachni-1.3

- old
+ new

@@ -3,11 +3,11 @@ describe Arachni::Framework::Parts::Platform do include_examples 'framework' describe '#list_platforms' do it 'returns information about all valid platforms' do - subject.list_platforms.should == { + expect(subject.list_platforms).to eq({ 'Operating systems' => { unix: 'Generic Unix family', linux: 'Linux', bsd: 'Generic BSD family', aix: 'IBM AIX', @@ -59,12 +59,12 @@ aspx_mvc: 'ASP.NET MVC', jsf: 'JavaServer Faces', cherrypy: 'CherryPy', cakephp: 'CakePHP', symfony: 'Symfony', - nette: 'Nette Framework' + nette: 'Nette' } - } + }) end end end