Sha256: 8676688f6c4378e69844f63e927f7c2c1952e63342e4adc62ba798b5eff84ba9
Contents?: true
Size: 1.07 KB
Versions: 4
Compression:
Stored size: 1.07 KB
Contents
require File.join(File.dirname(__FILE__), "..", "helpers", "spec_helper") describe Videojuicer::Criterion::Request do before(:all) do @klass = Videojuicer::Criterion::Request 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/request" @good_attributes = { :referrer => "http://www.google.com", } end it_should_behave_like "a RESTFUL resource model" end end
Version data entries
4 entries across 4 versions & 1 rubygems