Displaying 20 results from an estimated 200 matches similar to: "Stubbing Kernel.` (backquote)"
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
2008 Mar 04
10
Pretty story output for non-Rails project
I''m taking my first fledgling steps driving a new ruby (non-rails)
project with BDD. I''ve got a (test) story working. However, when I
run the story in TextMate (via command-r), the output is plain text.
See: http://skitch.com/georgeanderson/8grg/run-examples
How do I get the output to look pretty (formatted)?
rspec-1.1.3
OS X 10.5.2
TextMate v1.5.7 (1455)
Thanks,
/g
--
2007 Oct 13
3
[RSpec] Unexpected behavior using TextMate Bundle...
Howdy,
Why does the bundle NOT work when I do the following:
- Start TextMate
- Open my project
- Open my spec
- Try to run spec and get an error
While the following DOES work:
- Open Terminal
- Locate my project
- Start TextMate via command line (mate .)
- Open my spec
- Try to run spec and it works
Cheers,
Mel
-------------- next part --------------
An HTML attachment was
2006 Oct 31
5
How to run edge RSpec (on Rails)?
I''m interested in tracking edge development of the RSpec on Rails
plugin and I''m a bit confused.
The installation guide
(http://rspec.rubyforge.org/documentation/rails/install.html) says,
"You''ll have to install the RSpec core gem first." It also says,
"Take note of what rspec version you''re installing ? it''s very
important that you
2008 May 06
6
"Plugin not found" after RSpec install
I tried to install the RSpec Rails plugin as described here:
http://rspec.info/documentation/rails/install.html
After I run this...
ruby script/plugin install http://rspec.rubyforge.org/svn/tags/CURRENT/rspec
At the very end after a lot of output I get this error:
Plugin not found: ["http://rspec.rubyforge.org/svn/tags/CURRENT/
rspec"]
It looks as though it actually was installed
2007 Oct 26
3
Textmate Formatting has gone away
Hi,
I just updated my Textmate bundle to the latest in the svn because It wasn''t
working with the latest version of rspec. It''s been a while since I updated
the bundle ;)
I like the format that I used to have of a progress bar across the top and
html formatted results for each example, however now all I''m getting is
...........
passed etc etc.
How do I get the old
2020 Mar 28
0
[klibc:update-dash] dash: expand: Fix trailing newlines processing in backquote expanding
Commit-ID: 42c84c0c2ed8f5b9a81bd70582edfa9d7ead08be
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=42c84c0c2ed8f5b9a81bd70582edfa9d7ead08be
Author: Nikolai Merinov <n.merinov at inango-systems.com>
AuthorDate: Mon, 29 Apr 2019 19:13:37 +0500
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 28 Mar 2020 21:42:55 +0000
[klibc] dash: expand:
2019 Jan 25
0
[klibc:update-dash] parser: Fix backquote support in here-document EOF mark
Commit-ID: 5048195d282d48b25a9a0164e60cd0e6708ec8a9
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=5048195d282d48b25a9a0164e60cd0e6708ec8a9
Author: Herbert Xu <herbert at gondor.apana.org.au>
AuthorDate: Thu, 15 Mar 2018 18:27:30 +0800
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Fri, 25 Jan 2019 02:57:21 +0000
[klibc] parser: Fix backquote
2020 Mar 28
0
[klibc:update-dash] dash: parser: Fix backquote support in here-document EOF mark
Commit-ID: e90b159a00304664ddc94fca392146f4bde1bcec
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=e90b159a00304664ddc94fca392146f4bde1bcec
Author: Herbert Xu <herbert at gondor.apana.org.au>
AuthorDate: Thu, 15 Mar 2018 18:27:30 +0800
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 28 Mar 2020 21:42:54 +0000
[klibc] dash: parser: Fix
2006 Aug 07
2
Backquote in R syntax
Hi Folks,
Can someone satisfy my curiosity (well, at least about
the following query!)
Reading the draft proofs of an article I've been asked
to look through, I find the typesetter has set what
would normally be entered as
source("xyz.R") or source('xyz.R')
as
source(`xyz.R')
i.e. it has come out with an opening backquote, then
xyz.R, then a closing forward
2004 Aug 28
6
model.matrix.default chokes on backquote (PR#7202)
Full_Name: Gabor Grothendieck
Version: R version 1.9.1, 2004-08-03
OS: Windows XP
Submission from: (NULL) (207.35.143.52)
The following gives an error:
> `a(b)` <- 1:4
> `c(d)` <- (1:4)^2
> lm(`a(b)` ~ `c(d)`)
Error in model.matrix.default(mt, mf, contrasts) :
model frame and formula mismatch in model.matrix()
To fix it replace this line in model.matrix.default:
2008 Jan 18
9
new in ruby and rspec testing
Hi to all
I''m a new in ruby and RoR programming.
And my problem is Rspec.
I don''t understand how to write test files in rspec.
Maybe it''s because I don''t know ruby good.
Can you send me links to fine examples/screencasts/e-books and other
stuff.
I found some on google but it not enough :(
Thanks for replie''s
--
Posted via http://www.ruby-forum.com/.
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
2008 Jan 04
7
best way to modify spec (the command-line tool)?
Hi all, where I work we''ve cooked up a kind of ghetto profiler for our
specs. It basically just does this:
time = Time.now
# run the spec
puts "woah! dude. long spec." if time > 1.second
I''m simplifying here. I think the threshold is actually 0.1 seconds,
and we use more precise language, and highlight the spec in red via
terminal colors, etc.
But the way it works
2017 Sep 29
5
Converting SAS Code
Hello all,
My statistical analysis training up until this point has been entirely done
in SAS. The code I frequently used was:
*Yield Champagin;
data yield;
set stress;
if field='YV' then delete;
if field='HB' then delete;
if barcode='16187DD4015' then delete;
if barcode='16187DD6002' then delete;
if barcode='16187DD2007' then delete;
if
2006 Sep 28
15
Inserting rows into linking table
Hi,
I have two objects:
Contacts
Lists
I want to be able to add multiple contacts to multiple lists.
I''ve created a linking table and a form that allows me to select the
contacts using checkboxes, but I''m having some problems with the
controller and model.
I receive the following error message when I submit the form:
Mysql::Error: Cannot add or update a child row: a
2017 Sep 29
4
Converting SAS Code
Regarding point 3, as a moderator I have been helping Andrew get this
post out to the list over the past week. His previous attempts were
encoded in some way that the listserv rejected. He sent me the post via
his gmail account and viewing the source I saw it had at least both
plain test and HTML an I said it was worth a try to post it. Certainly
on my mail client his post displays acceptably
2010 Mar 29
6
Updating records
So I would like to be able to update a record without having to load the
edit page. Lets use checking out a book as an example. From the front
page of my application I would like to be able to have a form field
where I can enter a record id and select one of a couple of check boxes
and then hit submit which will update the associated record with the
action selected by the check box (check out,
2008 Oct 27
8
why can't johnny download?
I''m working on an app that includes the feature to allow user to
download a csv file of their data.
I''ve got it working on my local machine, but when I deploy it, the link
I''m making doesn''t work for doing the download. The file IS being
created in the location I''m intending, but the file download only works
on my local machine and not on the server.
2009 Jan 16
12
running a ruby expression stored in a database
Is this even possible? I''ve got a ruby expression stored in a
database, it''s the code to run a plugin since I was having trouble
passing variables stored in the database.
When I try to call the code, it either outputs it as text, or doesn''t
display it at all. It''s supposed to generate an image and display it.
right now the code is stored in the database as: