Sha256: b0cfa75e660cfb46d95b43204dd5703a6ed5c65bb918d5ce9d4f5735a04ed7e9
Contents?: true
Size: 1.13 KB
Versions: 4
Compression:
Stored size: 1.13 KB
Contents
require File.join(File.dirname(__FILE__), "..", "helpers", "spec_helper") describe Videojuicer::Criterion::Geolocation do before(:all) do @klass = Videojuicer::Criterion::Geolocation configure_test_settings Videojuicer.enter_scope :seed_name => fixtures.seed.name, :consumer_key=>fixtures["write-master"].consumer.consumer_key, :consumer_secret=>fixtures["write-master"].consumer.consumer_secret, :token=>fixtures["write-master"].authorized_token.oauth_token, :token_secret=>fixtures["write-master"].authorized_token.oauth_token_secret end after(:all) do Videojuicer.exit_scope end describe "instantiation" do it_should_behave_like "a configurable" end describe "general interface:" do before(:all) do @singular_name = "criterion" @plural_name = "criteria/geolocation" @good_attributes = { :city => "Mountain View", :region => "CA", :country => "United States" } end it_should_behave_like "a RESTFUL resource model" end end
Version data entries
4 entries across 4 versions & 1 rubygems