Displaying 20 results from an estimated 245 matches for "rspec_on_railer".
Did you mean:
rspec_on_rail
2008 Mar 16
0
Corrupt rspec_on_rails tar file?
I just downloaded rspec_on_rails-1.1.3.tgz onto a mac on OSX 10.4 and
another computer (Ubuntu 7.10) and I get the same tar errors when I
try to decompress:
rspec_on_rails-1.1.3/spec_resources/views/view_spec/implicit_helper.rhtml
rspec_on_rails-1.1.3/spec_resources/views/view_spec/multiple_helpers.rhtml
gzip: stdin: decompression OK, trailing garbage ignored
2007 May 02
13
RSpec 0.8.2 pain, missing spec/rails?
Hi. I''m upgrading a project from an 0.8.0 pre-release gem to 0.8.2.
I''ve installed the 0.8.2 gem, and the rspec_on_rails 0.8.2 plugin:
ruby script/plugin install
svn://rubyforge.org/var/svn/rspec/tags/REL_0_8_2/rspec
When I try to run my specs though, I get the below error. It''s as if the
spec_helper cannot find "spec/rails". I''ve noticed that
2007 Sep 27
2
1.0.8 tarball problem.
When I untar 1.0.8 after having downloaded it from rubyforge, I get
these errors:
<snip>
rspec-1.0.8/spec/spec/runner/spec_parser_spec.rb
rspec-1.0.8/spec/spec/spec_classes.rb
gzip: stdin: decompression OK, trailing garbage ignored
rspec-1.0.8/spec/spec/translator_spec.rb
rspec-1.0.8/spec/spec_helper.rb
rspec-1.0.8/UPGRADE
tar: Child returned status 2
tar: Error exit delayed from
2007 Oct 11
2
Incompatibility Issues after updating CURRENT
Hi,
I''m using piston to manage rspec and rspec_on_rails in vendor/plugins.
----
~/work/simplify_md $ piston st vendor/plugins/
vendor/plugins/rspec
(svn://rubyforge.org/var/svn/rspec/tags/CURRENT/rspec)
vendor/plugins/rspec_on_rails
(svn://rubyforge.org/var/svn/rspec/tags/CURRENT/rspec_on_rails)
----
After I ''piston update''d rspec and
2007 Jan 13
2
svn reorganized?
It appears the repository has been rearranged when compared to the
documentation. For the Rails plugin, the correct script/plugin
install now seems to be:
script/plugin install svn://rubyforge.org/var/svn/rspec/trunk/
rspec_on_rails
Is this correct?
2007 Sep 05
4
False Positives and Autotest on New Folders
False Positives
I just discovered how easy it was to create a false positive when I, trying
my first RSpec test, did this:
ob.should eql?(''foo'')
instead of:
ob.should eql(''foo'')
or:
ob.should == ''foo''
As far as I can see, this is roughly equivalent to:
ob.should false
Neither eql?(''foo'') nor false causes the spec
2007 Jan 19
3
problems updating to 0.7.5.1
Hi all
I''ve upgraded the rails plugin from 0.7.5 to 0.7.5.1 (plugin/remove
rspec_on_rails followed by :
ruby script/plugin install
svn://rubyforge.org/var/svn/rspec/tags/REL_0_7_5_1/rspec_on_rails/vendor/plugins/rspec_on_rails
I''ve also updated the rspec gem and removed the older version. I''m running
rubygems 0.9.1 on a windows box
however, when I try to run a spec
2007 Oct 23
6
Problem Upgrading from 1.0.5 to 1.0.8
Hey Guys,
I''m getting the following error:
1)
NameError in ''ProductsController with a GET to /products NO NAME
(Because of Error raised in matcher)''
uninitialized constant Spec::Mocks::BaseExpectation::AnyArgsConstraint
/Users/mattlins/Projects/RailsProjects/SWNetworkServices/vendor/plugins/rspec_on_rails/lib/spec/rails/dsl/behaviour/render_observer.rb:86:in
2006 Nov 22
1
rspec_on_rails (MissingSourceFile)
Hi there,
I''ve installed rspec, rails plugin & generators thusly:
$ sudo gem install rspec
$ sudo gem install rspec_generator
$ sudo gem install zentest -v 3.4.1
$ ./script/plugin install
svn://rubyforge.org/var/svn/rspec/tags/REL_0_7_2/vendor/rspec_on_rails/vendor/plugins/rspec
$ ./script/generate rspec
$ ./script/generate rspec_model ModelName
With Rails version:
$ rails
2007 Jul 26
5
Coding standards and whitespace
Recently as a result of using Git I''ve noticed a number of
inconsistencies in the RSpec codebase with respect to whitespace
(mixed line endings, mixed use of spaces and tabs for indentation,
and trailing whitespace at the end of lines). I never would have
noticed, but Git produces nice colorized diff output which highlights
these kinds of inconsistencies.
I wanted to ask if the
2007 Apr 13
3
rspec on rails won''t install
Hi:
This command:
svn co svn://rubyforge.org/var/svn/rspec/tags/REL_0_9_0/rspec_on_rails/vendor/plugins/rspec_on_rail
Gives me this output:
svn: URL ''svn://rubyforge.org/var/svn/rspec/tags/REL_0_9_0/rspec_on_rails/vendor/plugins/rspec_on_rails''
doesn''t exist
If I go the ''script/plugin install'' route, I get "Export complete."
Anybody know
2008 Mar 19
3
svn externals and git submodules
This is a request to split up the repository into at least two repositories
rspec
rspec_core (loaded as svn_external or git submodule)
rspec_on_rails (loaded as svn_external or git submodule)
We could load the plugins the same way as before
ruby script/plugin install http://rspec.rubyforge.org/svn/trunk/rspec_core
ruby script/plugin install
2007 Sep 27
1
rspec_on_rails: controller method not getting called
In my rspec_on_rails controlle rspec, I have this:
require File.dirname(__FILE__) + ''/../spec_helper''
describe FooController, "with a foo" do
it "should be false" do
get ''index''
assigns[:foo].should be_false
end
end
In my controller I have this:
class FooController < ApplicationController
def index
@foo = FALSE
end
2007 May 25
4
rspec on rails update question
I''m sure this is OT but I''d appreciate the help
I''m using rspec_on_rails
I prefer to use stable release rather than live dangerously (at least
until I can tell the difference between what I might be doing wrong
vs problems in rspec). However, I would like to try the
RspecScaffoldGenerator fix.
I installed (per the docs) last week with the following commands
2007 Feb 27
8
Using a subversion repository to spec in a rails app
Is it a bad practice to use a subversion repository to the trunk of
rspec and rspec_on_rails? Or rather, is it doomed to fail, since my
gem will always be out of date?
I know I can''t use spec, installed from gem,s if I have the latest
revision of rspec and rspec_on_rails checked into my plugins
directory. But I should still be able to use it with the --drb
option, correct?
2006 Nov 22
0
rspec_on_rails MissingSourceFile
Hi there,
I''ve installed rspec, rails plugin & generators thusly:
$ sudo gem install rspec
$ sudo gem install rspec_generator
$ sudo gem install zentest -v 3.4.1
$ ./script/plugin install
svn://rubyforge.org/var/svn/rspec/tags/REL_0_7_2/vendor/rspec_on_rails/vendor/plugins/rspec
$ ./script/generate rspec
$ ./script/generate rspec_model ModelName
With Rails version:
$ rails
2006 Dec 23
2
Having trouble installing the Rails plugin with Rspec 0.7.5
Hi,
I''m running Rails 1.1.6 and just installed RSpec 0.7.5. When I try to
install the appropriate Rails plugin, it just says that "Export Complete"
and doesn''t install anything to vendor. I can do it with older version, but
then it''s not compatible with RSpec. Any ideas?
blissdev:~/code/rails/client/wordone > ruby script/plugin install
2006 Dec 07
3
Newbie Error Running specs
I''m new to rspec. I just installed these:
rspec (0.7.4) RSpec-0.7.4 (r1201) (rspec gem)
rspec_on_rails .3 plugin (on vendor/plugin)
I''ve set up a simple spec - spec/library/test_spec.rb:
require File.dirname(__FILE__) + ''/../spec_helper''
context "test context" do
setup do
#nothing
end
specify "nothing to specify" do
2007 Dec 28
3
Converting to Rails 2.0.2
I''m moving an older project to Rails 2.0.2 and ran into a roadblock on
the version matching. Here''s script/console session:
>> Spec::VERSION::REV
=> "1785"
>> Spec::Rails::VERSION::REV
NoMethodError: undefined method `run='' for Test::Unit:Module
from /Users/sxross/rails/tastie_work/vendor/plugins/rspec_on_rails/
lib/spec/rails.rb:16
from
2007 Jun 08
4
Still recommend the plugins over the gems?
> We strongly recommend you install RSpec and Spec::Rails as plugins
> (as opposed to relying on an RSpec gem). See special instructions
> below if you want to install the HEAD of the trunk, or an older
> version.
(from http://rspec.rubyforge.org/documentation/rails/install.html)
Is this still the case? Why?
Is the rspec_on_rails available in gem form?
Does rspec_generator