Sha256: 558cd5aff0f50e5a869125579ea17e838fd9cbce9e3fb41259879ec19feecfc4
Contents?: true
Size: 1.06 KB
Versions: 1
Compression:
Stored size: 1.06 KB
Contents
require 'spec_helper' describe 'DroneApi' do it 'should return correct version string' do DroneApi.version.should == "DroneApi version #{DroneApi::VERSION}" end end describe 'DroneApi::Strike' do before do @strike = DroneApi::Strike.new end subject { @strike } it { should_not respond_to(:some_random_thing) } it { should respond_to(:id) } it { should respond_to(:number) } it { should respond_to(:country) } it { should respond_to(:date) } it { should respond_to(:town) } it { should respond_to(:location) } it { should respond_to(:deaths) } it { should respond_to(:deaths_min) } it { should respond_to(:deaths_max) } it { should respond_to(:civilians) } it { should respond_to(:injuries) } it { should respond_to(:children) } it { should respond_to(:tweet_id) } it { should respond_to(:bureau_id) } it { should respond_to(:bij_summary_short) } it { should respond_to(:bij_link) } it { should respond_to(:target) } it { should respond_to(:lat) } it { should respond_to(:lon) } it { should respond_to(:articles) } it { should respond_to(:names) } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
drone_api-0.1.0 | spec/drone_api_spec.rb |