forked from garytaylor/rcumber
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathINSTALL
34 lines (22 loc) · 1.14 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
INSTALLATION
------------
- Generate RSpec Files -- You will need rspec and rspec-rails installed --
(This is recommend but optional unless you wish to run the specs for this plugin)
./script/generate spec
-Generate Cucumber Files -- You will need cucumber and cucumber rails installed --
(Required)
./script/generate cucumber
- Add rcumber as a plugin to your project
cd vendor/plugins
git clone git://github.com/jrwest/rcumber.git
- Add to your routes:
map.rcumber 'rcumber', :controller => 'rcumbers', :action => 'index'
map.rcumber_runall 'rcumber/runall', :controller => 'rcumbers', :action => 'runall'
map.rcumber_runmany 'rcumber/run_many', :controller => 'rcumbers', :action => 'run_many'
map.resources :rcumbers do |rcumber|
rcumber.run 'run', :controller => 'rcumbers', :action => 'run'
end
- Copy ui/rcumber.gif to the /images directory in your project - recommended for now
(until I learn how to intercept requests to "/images" from a plugin...)
- Copy ui/rcumber.css to your /stylesheets directory - recommend for now
(until I learn how to intercept requests to "/stylesheets" from a plugin...)