Michael Grosser, the Blog

Google+ LinkedIn Twitter

Menu

Skip to content
  • Home
  • About

Constants in minitest/rspec describe blocks

Constants defined in describe blocks are global, so don’t do this:

Share this:

  • Share on X (Opens in new window) X
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Pocket (Opens in new window) Pocket
  • More
  • Email a link to a friend (Opens in new window) Email
  • Share on Flattr (Opens in new window) Flattr
  • Print (Opens in new window) Print
  • Share on Reddit (Opens in new window) Reddit
  • Share on Tumblr (Opens in new window) Tumblr
Like Loading...

Related

2015-04-27pragmatig Ruby, Test

Post navigation

← Running karma js with rails asset pipeline / sprockets
ActionMailer / Rails: No paths in my mails please →

Leave a comment Cancel reply

  • Whats my Coverage? (C0 C1 C2 C3 + Path)
  • RSpec response.should Information Enhancers
  • Fast kubectl mass delete
  • Parsing RSS Feeds via Googles JS Feed API
  • Lessons learned from upgrading Rails 2.1 to 2.3

Recent Posts

  • Testing Kubernetes CEL admission/valdiation
  • Producing Golang error backtraces / stacktraces
  • Makefile: speedup go build & run by using mtimes
  • Datadog: Show Metric Usage Warning From HPA Metrics
  • Kubernetes Changelog from Audit log
Create a website or blog at WordPress.com
  • Comment
  • Reblog
  • Subscribe Subscribed
    • Michael Grosser, the Blog
    • Already have a WordPress.com account? Log in now.
    • Michael Grosser, the Blog
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • View post in Reader
    • Manage subscriptions
    • Collapse this bar
%d