looks like :file_path is delegated to :example_group metadata in rspec 2.x so one syntax should work for both