Displaying 20 results from an estimated 100 matches similar to: "1.0.8 tarball problem."
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 Feb 15
4
defining context(s) dynamically
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Q. Why does code which defines a context work in the
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 Aug 07
1
Rspec controller test
Great Hi to everybody!
I am currently working on a project which tests the controllers using rspec.
I came across some methods in the controller which do not generate any
actions at all. However, they still need testing! Some of these methods do
require parameters. I am wondering how I can pass the test cases as the
parameters to these targeted methods in the controller spec?? Below is a
simple
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
2006 Nov 03
10
[PLUGIN] rspec_resource_generator - RESTful scaffold generator with RSpec specifications
rspec_resource_generator
========================
By Pat Maddox
Use this generator to generate RESTful scaffolding with RSpec specifications.
Syntax is exactly the same as the scaffold_resource generator:
./script/generate rspec_resource ModelName [field:type field:type]
When you run this generator, it will create a migration, model, and
model spec file. In addition, it gives you a RESTful
2012 Nov 12
7
RSpec: controller POST create
Rails 3.1.3
rspec-rails (2.11.4)
rspec 2.11.1
I am new to rspec. I don''t quite understand tests for POST create part.
I have generated scaffold, and simultaneously it generated
controller_spec.rb as well.
it "assigns a newly created plan as @plan" do
post :create, {:plan => valid_attributes}, valid_session
assigns(:plan).should be_a(Plan)
2007 Oct 12
3
Strange mock_model behaviour with ActiveResource model
Hi,
I have two models in an app that inherit from ActiveResource::Base.
The scaffold controller tests for one of the models works fine, but
the other one dies when calling mock_model in the "handling GET
/fa_codes" spec:
Specifically, the call to mock model here:
before do
@fa_code = mock_model(FaCode)
FaCode.stub!(:find).and_return([@fa_code])
end
generates this failure:
2007 May 06
2
NetBeans gets RSpec support
It looks like the lates NetBeans milestone can run RSpec specifications:
http://wiki.netbeans.org/wiki/view/NewAndNoteWorthyMilestone9
I haven''t tried it myself, but if anyone else does please tell us
about your experience.
Aslak
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
2009 Feb 20
6
How to mock an object defined in the before_filter function?
Hello,
I am trying to implement the following scenario, but I am stuck ...
The thing is I want to initialize a variable @comment when the stub
function "find_comment" is called.
The way I do it below doesn''t work, since
"before_filter :find_comment" returns true/false and @comment
initialization is done inside it. Could you please give me a hint how
to do it?
One
2006 Jun 27
2
Render partials in folders
Right now I have partials in a view folder corresponding with my controller.
ie: controller: example, view: example/_partial.rhtml
and I call it with render :partial => ''partial''
How do I add the partial to another folder and call it?
ie: controller: example, view: example/new_folder/_partial.rhtml
render :partial => ''new_folder/partial'' # does NOT work
2007 Apr 11
12
redirection doesn''t get detected well?
I''m doing a redirect in one of my controller actions and somehow I can''t
spec it, see this pastie: http://pastie.caboo.se/53120.
When following the link from a browser I''m being redirected to the right
page.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2007 Dec 11
1
1.0.8 with quota 1.0.8 patch - undefined symbol: quota_set
I get the following error after patching the 1.0.8 src.rpm with the quota-rewrite-1.0.8.diff
[root at test dovecot]# /etc/rc.d/init.d/dovecot start
Starting Dovecot Imap: Edlopen(/usr/lib/dovecot/imap/lib02_imap_quota_plugin.so) failed: /usr/lib/dovecot/imap/lib02_imap_quota_plugin.so: undefined symbol: quota_set
FCouldn't load required plugins
Error: imap dump-capability process returned 89
2007 Sep 28
1
Testing emails with RSpec 1.0.8.
Anyone is doing email testing with RSpec?
Can you post some examples?
Thank you, Laco M.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20070928/e6e6d5d2/attachment.html
2007 Aug 14
1
Upgrade to 1.0.8 broke Rake
Hello Guys.
I''m upgrading a project from 0.9.8 to 1.0.8, following this procedure:
* Removed vendor/plugins/rspec* completely.
* installed rspec and rspec_on_rails from
svn://rubyforge.org/var/svn/rspec/tags/REL_1_0_8
* Run script/generate rspec to update spec_helper and spec.opts
Now, when running rake, get the following error: superclass mismatch
for class Annotation
The following
2008 Mar 06
0
[ANNOUNCE] xinit 1.0.8
Adam Jackson (1):
xinit 1.0.8
David Nusinow (1):
Unbreak installs on non-launchd systems
James Cloos (1):
Add missing PHONY line for automatic ChangeLog generation
Jeremy Huddleston (19):
Added some support for Xquartz on OS-X.
Added Apple launchd support
Changed x11-exec to actually start X11.app. X11.app will be responsible for calling xinit.
OS-X:
2008 May 23
0
[ANNOUNCE] xfs 1.0.8
Adam Jackson (1):
xfs 1.0.7
Brice Goglin (2):
Fix nasty typo in SetConfigValues
xfs 1.0.8
git tag: xfs-1.0.8
http://xorg.freedesktop.org/archive/individual/app/xfs-1.0.8.tar.bz2
MD5: f10717e45535b64eb45226aac571dac2 xfs-1.0.8.tar.bz2
SHA1: 87a4f791b940cdc129891ce0f7033b3db4d40420 xfs-1.0.8.tar.bz2
http://xorg.freedesktop.org/archive/individual/app/xfs-1.0.8.tar.gz
MD5:
2010 Dec 27
0
highcharts gem for rails3,lazyhighchart 1.0.8
FYI:
https://github.com/xiaods/lazy_high_charts
--
tommy xiao
E-mail: xiaods(AT)gmail.com
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
2007 Dec 02
1
1.0.8 install trouble on Ubuntu dapper (PAM)
Hi,
I was running the Ubuntu dovecot package until now, and decided to
upgrade because of an issue with Thunderbird. I downloaded and
compiled 1.0.8, and it's not starting up. The error I'm getting is:
Dec 2 15:35:04 jfootoo dovecot: auth(default): Unknown passdb driver
'pam' (typo, or Dovecot was built without support for it? Check with
dovecot --build-options)
D
I used