Sha256: 0ec2ce28be8d8a9af7d0af1ae328bf8a2c28b96fe0b1e89dc8663bf35025c292
Contents?: true
Size: 1.14 KB
Versions: 5
Compression:
Stored size: 1.14 KB
Contents
require File.join(File.dirname(__FILE__), "helpers", "spec_helper") describe Videojuicer::Presentation do before(:all) do @klass = Videojuicer::Presentation 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 = "presentation" @plural_name = "presentations" @good_attributes = { :title=>"Presentation title #{rand 99999}", :abstract=>"Presentation abstract #{rand 99999}", :author=>"Bob Anon" } end it_should_behave_like "a RESTFUL resource model" end end
Version data entries
5 entries across 5 versions & 1 rubygems