oops_test.rb revision bed075ca5886f9d5a0010cd6da54c6f3b839ea09
require 'test_helper'
context 'doing a oops request' do
context 'with invalid url' do
should 'raise error' do
assert false, "no error was thrown"
end
end
end
context 'with valid url' do
setup do
end
should 'return a list' do
end
end
end
context 'parsing a oops response' do
setup do
end
should 'return correct amount of elements' do
end
context 'first element responded' do
setup do
@element = @result.first
end
should 'have correct type' do
end
should 'have correct name' do
end
should 'have correct code' do
end
should 'have correct affects' do
end
end
end
end
end
end