Permalink
Browse files

trying to get the layout to work

  • Loading branch information...
1 parent e357a46 commit f040ed8da915428ae3f4eabf03c3eb582a9c8e2f John Goodsen committed Nov 23, 2008
Showing with 6 additions and 75 deletions.
  1. +5 −20 README
  2. +0 −1 install.rb
  3. +1 −1 lib/rcumber.rb
  4. +0 −32 ui/views/layouts/rcumber.html.erb
  5. +0 −21 ui/views/rcumbers/index.html.erb
View
25 README
@@ -1,20 +1,5 @@
-Pasted from the "wiki" at http://github.com/jgoodsen/rcumber/wikis Home Page:
-
-rcumber is a rails plugin that lets your customers view, edit and run Cucumber tests directly from your rails project.
-
-h2. Three Step Installation
-
-It's simple to use - just add it as a plugin to your project:
-
-<pre>
- cd ./vendor/plugins
- git clone git://github.com/jgoodsen/rcumber.git
-</pre>
-
-Step two: just start your rails server and visit http://localhost:3000/rcumber
-
-Step three: Oh, there is no step three!
-
-h2. This is just a first cut of my idea.
-
-The current release is just a first cut hack at my idea. See the [[User Story Backlog]] for immediate features I'm planning to implement and checkout the [[Product Roadmap]] for a larger picture of more features we want to add. I'm looking for some help - if you're interested, please contact me.
+## TODO: A Script/Generate or install hook is needed to:
+##
+## 1. Install rcumber.css into the project.
+## 2. Setup the routes for the views
+## 3. Copy the rcumbers.html.erb layout file to the project or get it automagically located in the plugin like the views are...
View
@@ -1 +0,0 @@
-# Install hook code here
View
@@ -23,7 +23,7 @@ def initialize(path)
end
def run
- self.last_results = RcumberResults.new(`rake features`.to_a)
+ self.last_results = RcumberResults.new(`cucumber features/*.feature`.to_a)
end
def self.all
@@ -1,32 +0,0 @@
-
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
- "http://www.w3.org/TR/html4/strict.dtd">
-<html>
-<head>
- <title>RCumber - Rails Cucumber Interface</title>
-</head>
-<body>
-<div id="doc3" class="yui-t4">
- <div id="hd">RCUMBER HEADER
- </div>
- <div id="bd">
- <div class="yui-g">
- <!-- YOUR DATA GOES HERE -->
- </div>
-
-<div class="yui-g">
- <%= yield %>
- </div>
-
- </div>
- <div id="ft">RCUMBER FOOTER</div>
-</div>
-</body>
-</html>
-
-<script type="text/javascript" charset="utf-8">
- $(function() {
- $('li.cucumber')
- });
-
-</script>
@@ -1,25 +1,4 @@
-<style type="text/css" media="screen">
-body {
-font-family: "lucida grande",lucida,verdana,sans-serif;
-font-size: 12px;
-font-size-adjust: none;
-font-style: normal;
-font-variant: normal;
-font-weight: normal;
-}
-
- div#cucumber_tests_header {
- background: #999;
- width: 200px;
- }
- ul#cucumber_tests {
- border: 1px solid #999;
- width: 200px;
- }
- li.cucumber_test { list-style-image: url(/images/icons/magic_wand.gif) }
-
-</style>
<div id="cucumber_tests_header">Cucumber Tests</h2>
<ul id="cucumber_tests">

0 comments on commit f040ed8

Please sign in to comment.