Displaying 11 results from an estimated 11 matches for "test_plugin".
Did you mean:
test_plugins
2006 Jan 12
2
Engines issue: rake test_plugins failing when it shouldn''t
...ender :text => ''Hello, world!''
end
end
and I create a simple functional test within the engine:
class FredControllerTest < Test::Unit::TestCase
...
def test_hello
get :hello
assert_response :success
end
end
Running ''rake test_plugins'' succeeds, and firing up the server and
requesting /fred/hello gives the expected page.
Now, in the project that includes the engine, I override FredController:
class FredController < ApplicationController
def goodbye
render :text => ''Goodbye.''...
2009 Oct 05
11
Unable to install plugins from github
Hi All,
My operating system is FC11...I tried to install will_paginate from
github directly like this -
script/plugin install git://github.com/mislav/will_paginate.git
But I get an error saying
[ckkashyap@KingCobra test_plugin]$ script/plugin install
git://github.com/mislav/will_paginate.git
Plugin not found: ["git://github.com/mislav/will_paginate.git"]
I have git on my machine - I even ran "gem install git" which
installed something but I continue to get this error.
I managed to install will_pagin...
2006 Jun 11
2
Problem with Acts_As_Attachment
Hi,
I have installed the acts_as_authenticated plugin from technoweenie, but
when I run the tests I get an error (running windoze)
-- create_table(:attachments, {:force=>true})
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'':
no
such file to load -- sqlite (MissingSourceFile)
I found the require statement in test/abstract_unit.rb
2005 Dec 27
4
acts_as_versioned
Hi,
I'm integrating acts_as_versioned (ar-versioned.rubyforge.org) in my
customized CMS rails application to set up revision control for pages.
Getting and viewing versions works allright, but when I try to revert
to a version in the following way, nothing happens to the actual data
in the object.
Link from page:
<%= link_to image_tag('revert'), :action => 'do_revert',
2006 Mar 10
19
validates_date plugin for ActiveRecord
...y because "java is better than ruby" is an invalid date, but more
importantly, because the statement is blatantly false. ;)
Install with:
script/plugin install
http://svn.viney.net.nz/things/rails/plugins/validates_date
Check it''s all working with:
rake test:plugins [or rake test_plugins if you are using Rails 1.0]
Suggestions, comments, problems are all welcome.
-Jonathan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060310/b82fc822/attachment.html
2006 Feb 05
0
[GLOBALIZE] Trouble getting example on wiki working
...the validations mechanism.
To cut a long story short as my app is running edge rails I decided to
create a new test rails app (using rails 1.0) and follow the globalize
wiki example exactly.
I get the following failure:
http://www.rafb.net/paste/results/L617lh70.html
I then decied to run the test_plugins rake task. I also get a failure
for that:
http://www.rafb.net/paste/results/c5AWAo37.html
I''d really appreciate it of someone could help me out here. I really
need to get i18n in asap.
Environment details:
saimon@iris ~/dev/workspace/sandbox $ ruby --version
ruby 1.8.3 (2005-09-21)...
2006 Jan 04
0
Plugins unit testing
Hi,
I am refactoring a utility class from my application in a plugin and I
am trying to get the unit tests to pass. (they were going pretty fine
before I moved things into a plugin)
I did find the ''rake test_plugins'' command, which seems to trigger my
unit tests, however the load path does not seem to include my plugin''s
directories, so all my previously valid require directive are now
saying they can''t find the files.
I read the Plugins Conventions thread initiated in october by J...
2006 Apr 16
1
plugins problems with RoR 1.1 in production
Hi,
I''m looking to upgrade an application based on rails 1.0, and I have a
problem with plugins working fine in development, but not in
production or test. Actually, it happens in all environments with
their dependency mechanism set to :load.
For example for the selenium on rails plugin, it needs the class
SeleniumOnRailsConfig, which triggers the dependency on
2006 Apr 22
5
selenium plugin not working with rails 1.1
Hi,
I really like selenium, and I just tried the plugin created Jonas
Bengtsson. However I cannot get it to run on rails 1.1 and coundn''t find
anyone complaining about it?
Did anyone get it to run on rails 1.1.2?
Greets,
Abdur-Rahman
2006 Sep 08
4
Does acts_as_attachment :storage => :db_system work?
I found the post about needing to install acts_as_attachement_1_1_6 if
you are not on edge rails. But I am having trouble getting db_system
storage to work. As far as I can tell in from the database, things are
working, but I don''t see how my model table hooks up with the db_files
table so I am having trouble altering the image_tag from the tutorial
2006 Mar 03
17
RCSS problems
Hi List!
Following http://rcss.rubyforge.org/files/README.html, I''m trying to get
RCSS to work with Rails. The rcss command itself works fine, but when
trying to access http://localhost:3000/rcss/test.css I always get
"Unknown action - No action responded to test.css", which I don''t
understand since the route and controller are in place.
Anyway, hopefully this is