Get the following error when I run autotest.
The weird thing is that I don't have the folder /Library/Ruby/Gems/1.8/ but the folder /Library/Ruby/Gems/1.9.1/.
Help? Thanks.
Invalid gemspec in…
As soon as I applied fancybox scripts into my playframework application, I can not use play auto-test selenium anymore for test that page where this script is applied. This is because it seems auto-test capabilities can not emulate a real browser's…
I'm just working on my first rails application by following the tutorial at http://ruby.railstutorial.org/. I have setup my development environment exactly as what it says in the tutorial (I'm on using a Macbook Pro with Lion) and it's working…
I have this in .autotest:
Autotest.add_hook :initialize do |autotest|
autotest.add_mapping(/^spec\/requests\/.*_spec\.rb$/) do
autotest.files_matching(/^spec\/requests\/.*_spec\.rb$/)
end
end
when I run autotest it initially runs all unit…
I have the following helper method (app/helpers/application_helper.rb):
module ApplicationHelper
#Return a title on a per-page basis
def title
base_title = "Ruby on Rails Tutorial Sample App"
if @title.nil?
base_title
else
…
Say for instance I have a datefield or 3 select fields for day month and yea..
How does the final selection of date get sent to the database? or in what format doesn't it get sent?
20110803 ?
2011-08-03 ?
What I want to do is:
Test for a valid date…
I have test:
@Test
public void sixTest() {
FlowerList flowerList = new FlowerList();
Specification.installSpec(Specification.requestSpec(), Specification.responseSpec());
Response response = given()
…
I have a section of my test suite which runs a bunch of really slow importers. These tests don't need to be run often (unless the importers are actually being worked on) so I've split them out using Rspec tags:…
I cannot get autotest to work. Rspec works fine.
Firstly, I cannot get the autotest/ Rspec command to work with the bundle exec command, so I modified the Gemfile to include the following code.
source 'http://rubygems.org'
gem 'rails',…
I am trying to get 'RGF Administrator' text from the html example below. The difficulty is that title can take two values: 'Application Settings' or 'Параметры приложения'. At the same time, html may contain other elements with title = 'Application…
Whenever I run autotest on a Rails 3 app (no custom tests yet) it hangs at loading autotest/rails_rspec2 and I'm still extremely new to Rails to know what to check/look for.
I've included my gemfile incase there is a known compatibility issue.…
This question is probably pretty stupid/n00bish/inappropriate/localised/sparkly cake, so downvote all you like as long as I get the answer, as I wish very much to be able to go through the koans. :)
I am trying to get this to work. (GitHub is here)…
I have a new project that I am trying to get up and running with rspec, autotest and spork.
I am using:
rails 3.0.4
rspec 2.5.0
spork 0.9.0.rc3
autotest 4.4.6
Spork seems to be loading fine (I get a message that it is listening on a port), but…
I keep getting an issue when running RSpec with Autotest. My
~/.autotest file looks like this:
require 'autotest/growl'
require 'autotest/fsevent'
Autotest.add_hook :initialize do |autotest|
…