Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "">
<html xmlns="">
<title>Graphics | JavaScript Testing Results</title>
<link rel="stylesheet" href="screw.css" type="text/css" charset="utf-8" />
<script type="text/javascript" src="../../../vendor/plugins/blue-ridge/lib/blue-ridge.js"></script>
<!-- Put any HTML fixture elements here. -->
<div id="stuff"></div>
$(document).ready(function () {
$("#stuff").text("this page is ready");
describe("Graphics", function(){
it("does something", function(){
expect($("#stuff").text()).to(equal, "this page is ready");

joshuacronemeyer commented Apr 18, 2010

This is a fixture and test from a rails project using the latest version of blue-ridge ( This feature passes in firefox, but fails from the console: expected null to equal "this page is ready"

As near as I can tell, this is an env.js issue... though it seems like blue-ridge shouldn't make jquery 1.4.2 default since it isn't working properly.


joshuacronemeyer commented Apr 18, 2010

Hmm. Ok. So this doesn't reproduce my issue precisely because switching to jquery 1.3.2 doesn't make this test pass... but am i missing something? shouldn't this test pass using rhino since it passes in the browser?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment