spec/request_spec.rb in RubyApp-0.0.91 vs spec/request_spec.rb in RubyApp-0.2.0

- old
+ new

@@ -1,22 +1,15 @@ require 'spec_helper' -require 'ruby_app/request' +describe 'request' do + include_context 'request' -describe RubyApp::Request do - include_context 'RubyApp::Request' - describe 'positive' do - describe 'class' do - - specify { RubyApp::Request.should respond_to('create!') } - specify { RubyApp::Request.should respond_to('get') } - specify { RubyApp::Request.should respond_to('destroy!') } - - specify { RubyApp::Request.get.should_not be_nil } - - end + specify { RubyApp::Request.get.should_not be_nil } + specify { RubyApp::Response.get.should_not be_nil } + specify { RubyApp::Language.get.should_not be_nil } + specify { RubyApp::Session.get.should_not be_nil } end describe 'negative' do end