Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: cd3324516f
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (19 sloc) 0.695 kb
#!/usr/bin/env ruby
ENV["RAILS_ENV"] = "test"
require File.expand_path(File.dirname(__FILE__) + "/../config/environment")
require 'spec/rails/story_adapter'
require 'spec/story'
require File.expand_path(File.dirname(__FILE__) + "/rest_auth_stories_helper.rb")
# Make visible for testing
ApplicationController.send(:public, :logged_in?, :current_user, :authorized?)
this_dir = File.dirname(__FILE__)
Dir[File.join(this_dir, "steps/*.rb")].each do |file|
puts file.to_s
require file
end
with_steps_for :ra_navigation, :ra_response, :ra_resource, :user do
story_files = Dir[File.join(this_dir, "users", '*.story')]
story_files.each do |file|
run file, :type => RailsStory
end
end
Jump to Line
Something went wrong with that request. Please try again.