-
Call up JIRA tasks from zsh using .oh-my-zsh
Using the JIRA oh-my-zsh plugin to jump to an issue number in the browser.
-
When Bad Things Happen to Good Web Clients (aka Why Did You Send Me a HTTP 400 Error?)
I initially thought that I hadn’t gotten much out of REST API Design Rulebook, mainly because the prescriptions mentioned in the book don’t overlap well with common practice in Rails (or what Rails easily supports). However, one thing that I developed greater appreciation for was proper use of HTTP status codes. Namely, that HTTP 4xx…
-
rspec before(:all) is tempting but stubs don’t play nicely with it.
I was looking at an rspec test with multiple expectations in the same example. before(:all) do SpecialClient.any_instance.stub(:login).and_return { true } end # # MUCH SPACE # # WOW # it “does stuff successfully” do # preceding code, including controller action expect(result.valid?).to be_true expect(response.body).to match /All is happy/ expect(response.code).to eq “200” end I wanted to add…
