Skip to content

Instantly share code, notes, and snippets.

@knowtheory
Created May 26, 2009 15:22
Show Gist options
  • Select an option

  • Save knowtheory/118110 to your computer and use it in GitHub Desktop.

Select an option

Save knowtheory/118110 to your computer and use it in GitHub Desktop.
Seed authentication
Automigrating in helper!
Automigrating in helper!
Automigrating in helper!
Automigrating in helper!
Automigrating in helper!
Automigrating in helper!
Automigrating in helper!
- authenticates a user with the correct name and password (PENDING: Not Yet Implemented)
- does not authenticate a user from another seed (PENDING: Not Yet Implemented)
- does not authenticate a user with the incorrect details (PENDING: Not Yet Implemented)
Tag
Automigrating in helper!
Automigrating in helper!
Automigrating in helper!
Automigrating in helper!
Automigrating in helper!
Automigrating in helper!
Automigrating in helper!
- should have specs (PENDING: Not Yet Implemented)
User
Automigrating in helper!
Automigrating in helper!
Automigrating in helper!
Automigrating in helper!
Automigrating in helper!
Automigrating in helper!
Automigrating in helper!
- should have specs (PENDING: Not Yet Implemented)
Spec::Runner.configure do |config|
config.include(Merb::Test::ViewHelper)
config.include(Merb::Test::RouteHelper)
config.include(Merb::Test::ControllerHelper)
config.include(OAuth::SpecHelper)
config.before(:all) do
puts "Automigrating in helper!"
DataMapper.auto_migrate! if Merb.orm == :datamapper
end
end
require File.join( File.dirname(__FILE__), '..', "spec_helper" )
describe Tag do
it "should have specs"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment